Personal NixOS flake
1deploy:
2 nixos-rebuild switch --flake . --use-remote-sudo
3
4test:
5 nixos-rebuild test --flake . --use-remote-sudo
6
7boot:
8 nixos-rebuild boot --flake . --use-remote-sudo
9
10update:
11 nix flake update
12
13update-and-commit:
14 nix flake update && git add flake.lock && git commit -m "chore: update flake.lock"
15
16repl:
17 nix repl --expr "builtins.getFlake \"$(pwd)\""