Add readme
This commit is contained in:
parent
52eb7d0db3
commit
2a0aedbd67
1 changed files with 41 additions and 0 deletions
41
README.md
Normal file
41
README.md
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# nixos-system-config
|
||||||
|
Modular multi-purpose NixOS configuration.
|
||||||
|
|
||||||
|
## About
|
||||||
|
Feel free to do whatever with this configuration.
|
||||||
|
This configuration [erases your darlings](https://grahamc.com/blog/erase-your-darlings/) using ZFS snapshots.
|
||||||
|
Currently only used for my homeserver, [desktop runs on Gentoo](https://git.dirae.org/caem/dotfiles).
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
```
|
||||||
|
/nix/config
|
||||||
|
├── flake.lock
|
||||||
|
├── flake.nix ; Master configuration file
|
||||||
|
├── overlays ; Package overlays
|
||||||
|
├── packages ; Packages with configurations
|
||||||
|
│ ├── nginx
|
||||||
|
│ │ └── homeserver.nix
|
||||||
|
│ ├── syncthing
|
||||||
|
│ │ └── homeserver.nix
|
||||||
|
│ └── vim
|
||||||
|
│ └── package.nix
|
||||||
|
├── pw ; Password of your user
|
||||||
|
├── sets ; Sets of packages
|
||||||
|
│ └── meta
|
||||||
|
│ └── sysadmin.nix
|
||||||
|
├── systems ; System specific configuration
|
||||||
|
│ ├── common.nix
|
||||||
|
│ ├── hardware ; Hardware configuration of each system
|
||||||
|
│ │ ├── homeserver.nix
|
||||||
|
│ │ └── qemu-vm.nix
|
||||||
|
│ ├── homeserver.nix
|
||||||
|
│ ├── persist ; Persistence configuration of each system
|
||||||
|
│ │ ├── common.nix
|
||||||
|
│ │ ├── homeserver.nix
|
||||||
|
│ │ └── qemu-vm.nix
|
||||||
|
│ └── qemu-vm.nix
|
||||||
|
└── users ; User specific configuration
|
||||||
|
├── media.nix
|
||||||
|
├── none.nix
|
||||||
|
└── user.nix
|
||||||
|
```
|
Loading…
Reference in a new issue