44 lines
No EOL
1.3 KiB
Markdown
44 lines
No EOL
1.3 KiB
Markdown
# garden
|
|
|
|
Hosts in this repo are named after plants and flowers.
|
|
|
|
## hosts
|
|
|
|
### poppy *(active)*
|
|
- **role:** MacBook Air M1, personal/work machine
|
|
- **system:** nix-darwin, aarch64-darwin
|
|
- **location:** daily driver
|
|
|
|
### muscari *(planned migration)*
|
|
- **role:** linux server, k3s cluster
|
|
- **system:** NixOS, x86_64-linux
|
|
- **location:** iscg infra
|
|
|
|
### rosemary *(planned)*
|
|
- **role:** backup VM
|
|
- **system:** NixOS, x86_64-linux
|
|
|
|
## structure
|
|
|
|
- `flake.nix` — entry point, dispatches `mkNixos` and `mkDarwin` per host
|
|
- `hosts/<name>/default.nix` — per-host config
|
|
- `hosts/common/default.nix` — shared NixOS config
|
|
- `hosts/common-darwin/default.nix` — shared darwin config
|
|
- `home/default.nix` — shared home-manager config for user `michaotic` (plan to migrate to `mikl` later)
|
|
- `secrets/` — sops-encrypted secrets per host
|
|
|
|
## migrations
|
|
|
|
- `nix-config-legacy/` — previous muscari-only config (preserved for reference)
|
|
|
|
## future plans
|
|
|
|
### username migration
|
|
|
|
currently using `michaotic` as username (historical). plan to migrate to `mikl` across all hosts for consistency.
|
|
|
|
**why not now:**
|
|
- macOS: changing username requires careful handling of home folder, keychain, permissions
|
|
- linux: easier, but better to do in one coordinated change
|
|
|
|
**when:** after setting up proper backups and testing migration procedure |