my nix-darwin / NixOS config
- QML 66.1%
- Nix 26.2%
- Shell 5.2%
- Lua 2.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .agents/skills/qs-widget | ||
| bin | ||
| hosts/NixOS | ||
| lib | ||
| nixos | ||
| programs | ||
| darwin.nix | ||
| flake.lock | ||
| flake.nix | ||
| home.nix | ||
| README.md | ||
| SECURITY.md | ||
Nix(OS) config files
Cross-platform Nix configuration for NixOS and macOS (Darwin).
Setup
NixOS
./hosts/NixOS/label-partitions.sh
sudo nixos-rebuild switch --flake .#Gordon
See SECURITY.md for Secure Boot and TPM2 setup.
Darwin (macOS)
nix run nix-darwin -- switch --flake .#Alyx
Shared cache (Alyx → Gordon)
Alyx serves /nix/store over Tailscale via Harmonia. Gordon substitutes from
http://alyx:5001 (sources/FODs overlap; Linux closures after a copy).
# Gordon, after a rebuild:
nix-copy-alyx