2023-06-27 07:36:32 +01:00
|
|
|
.PHONY: default test lock
|
|
|
|
|
|
|
|
default:
|
|
|
|
sudo nixos-rebuild switch --flake .
|
2023-06-26 14:15:04 +01:00
|
|
|
|
|
|
|
test:
|
|
|
|
git -C . add .
|
|
|
|
sudo nixos-rebuild test --flake .
|
2023-06-26 13:39:40 +01:00
|
|
|
|
|
|
|
lock:
|
|
|
|
nix flake lock --update-input nixpkgs --update-input home-manager
|
|
|
|
git -C . add flake.lock
|
|
|
|
nix flake archive
|