trying nix anywhere
This commit is contained in:
1 parent
76e396cd43
commit
a5cf4fcd00
7 files changed
+104
-17
No files matched your search
@@ -8,6 +8,8 @@ One NixOS configuration file per managed machine, plus hardware configs and host
|
||||
hosts/
|
||||
├── <hostname>.nix # Host configuration (packages, services, options)
|
||||
├── <hostname>.hardware-configuration.nix # Generated by nixos-generate-config — DO NOT EDIT
|
||||
├── <hostname>.disko.nix # Optional: declarative disk layout for `skyg remote install` (nixos-anywhere).
|
||||
│ # Only present for hosts installed/reinstalled this way (currently: hl-fws1)
|
||||
└── scripts/
|
||||
├── fwbook/ # fwbook-specific shell scripts
|
||||
│ ├── functions.sh # ZSH functions sourced at shell startup
|
||||
@@ -37,5 +39,6 @@ hosts/
|
||||
|
||||
- **Do not add `imports = [...]`** to host files — module composition happens in `flake.nix` via `modules/main.nix`
|
||||
- **Do not edit `*.hardware-configuration.nix`** — these are generated and will be overwritten
|
||||
- Hosts with a `<hostname>.disko.nix` own their `fileSystems` via disko; if a generated `hardware-configuration.nix` still contains its own `fileSystems` stanzas for the same host, that's a conflict the machine's owner needs to resolve by hand (regenerating or trimming it) — not something to script around
|
||||
- Host-specific packages and one-off settings belong here; anything reused across hosts belongs in `modules/`
|
||||
- See `docs/hosts/README.md` for full per-host service/port/package reference
|
||||
Reference in new issue
Block a user