nixos/Makefile

14 lines
249 B
Makefile
Raw Normal View History

.PHONY: default test lock
default:
sudo nixos-rebuild switch --flake .
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