1
0
Fork
You've already forked nix_infra
0
The infrastructure running most of my machines. Nix based.
  • Nix 67.7%
  • Emacs Lisp 28.9%
  • CSS 2.2%
  • HTML 1.2%
2026年04月14日 14:42:53 -04:00
conf.d Add work email configuration 2026年04月14日 14:42:53 -04:00
derivations Fix vpn_up derivation to properly use updated oc bin in all cases 2025年11月10日 08:25:37 -05:00
files Flake! 2021年12月19日 14:08:30 -05:00
lib Add work email configuration 2026年04月14日 14:42:53 -04:00
modules/home Emacs: Remove unused modes 2026年04月13日 10:04:18 -04:00
secrets Fix agenix 2026年04月14日 11:02:11 -04:00
flake.lock Add agenix 2026年04月13日 15:20:18 -04:00
flake.nix Add agenix 2026年04月13日 15:20:18 -04:00
README.md Add README 2022年12月24日 10:48:02 -05:00
secrets.nix Fix agenix 2026年04月14日 11:02:11 -04:00

Nix configuration for a bunch of machines

Deploying

First: Clone the repo

Darwin

$ cd <repo clone root>
$ nix build ~/.config/darwin\#darwinConfigurations.cipher-4590
$ ./result/sw/bin/darwin-rebuild switch --flake .

After completing the above, darwin-rebuild will be in $PATH, so a simple darwin-rebuild switch --flake <path> will work fine.o

NixOS

$ nixos-rebuild switch --flake <repo clone root>

will work (if your hostname happens to be bennett-{server,laptop}).