nixos-config/Makefile

8 lines
155 B
Makefile

.PHONY: install result
install: result; SHELL=/bin/sh pkexec $$PWD/switch $$PWD
secret.nix: secret.nix.gpg; gpg -dq $< > $@
result: secret.nix; ./build