nixos/Makefile

11 lines
194 B
Makefile

.PHONY: test lock
test:
git -C . add .
sudo nixos-rebuild test --flake .
lock:
nix flake lock --update-input nixpkgs --update-input home-manager
git -C . add flake.lock
nix flake archive