initial scaffold: multi-host flake (poppy, muscari, rosemary)
- flake.nix with mkNixos + mkDarwin dispatchers
- hosts/common/{default.nix} (NixOS shared)
- hosts/common-darwin/{default.nix} (darwin shared)
- hosts/poppy/ (M1 MacBook Air, nix-darwin)
- hosts/muscari/ (k3s server, placeholder)
- hosts/rosemary/ (backup VM, placeholder)
- home/default.nix (home-manager for mikl)
- README.md, garden.md (host naming scheme: plants)
- secrets/.gitkeep
old muscari-only config moved to nix-config-legacy/
This commit is contained in:
commit
42fdbeb1a0
11 changed files with 202 additions and 0 deletions
15
README.md
Normal file
15
README.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# nix-config
|
||||
|
||||
Nix configurations for iscg infra hosts.
|
||||
|
||||
Hosts and naming scheme: see [garden.md](./garden.md).
|
||||
|
||||
## rebuild
|
||||
|
||||
```bash
|
||||
# poppy (macOS)
|
||||
darwin-rebuild switch --flake .#poppy
|
||||
|
||||
# muscari, rosemary (NixOS)
|
||||
sudo nixos-rebuild switch --flake .#<host>
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue