hosts/#
Per-host entry points for the flake. Each subdirectory maps to a key in
flake.nix's darwinConfigurations / nixosConfigurations /
homeConfigurations outputs.
Current hosts#
| Host | Type | Status | Apply command |
|---|---|---|---|
mac-jenc/ |
nix-darwin | ✅ Done | sudo darwin-rebuild switch --flake .#mac-jenc |
nixos-box/ |
NixOS | ✅ Done | nixos-rebuild switch --flake .#nixos-box |
fedora/ |
standalone HM | ✅ Done | home-manager switch --flake .#fedora |
ubuntu/ |
standalone HM | ✅ Done | home-manager switch --flake .#ubuntu |
pi-nas/ |
standalone HM | ✅ Done | home-manager switch --flake .#pi-nas |
Host configuration#
mac-jenc (macOS Apple Silicon)#
- Uses nix-darwin for system config
- Homebrew managed declaratively for casks (OrbStack, 1Password, etc.)
- Home Manager for user packages and dotfiles
nixos-box (NixOS x86_64)#
- Full NixOS system config
- Requires
hardware-configuration.nix(gitignored, copied from/etc/nixos/) - Home Manager for user packages and dotfiles
fedora (Fedora Workstation x86_64)#
- Standalone Home Manager (no nix-darwin/NixOS)
- System packages managed via dnf
- Nix only manages user environment
ubuntu (Ubuntu Workstation x86_64)#
- Standalone Home Manager (no nix-darwin/NixOS)
- System packages managed via apt
- Nix only manages user environment
pi-nas (Raspberry Pi 4B NAS, Debian aarch64)#
- Standalone Home Manager on ARM Linux
- System packages managed via apt
- Nix only manages user environment
- Pi-specific packages: ufw, fail2ban, hd-idle, tailscale
- Docker managed at system level (not via Nix)
xoffalias for soft shutdown
Adding a new host#
- Create
hosts/<hostname>/default.nix - Add to
flake.nixunder the appropriate output (darwinConfigurations,nixosConfigurations, orhomeConfigurations) - Update this README