diff --git a/Makefile b/Makefile index 7c15e2a..e5bf97f 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ options = --option eval-cache false flake = . .PHONY: boot -boot: check +boot: check verify nixos-rebuild boot $(options) --flake $(flake) .PHONY: reboot @@ -10,7 +10,7 @@ reboot: boot reboot .PHONY: switch -switch: +switch: verify nixos-rebuild switch $(options) --flake $(flake) .PHONY: update @@ -18,11 +18,11 @@ update: nix flake update .PHONY: live -live: check +live: check verify nix build -o live $(options) $(flake)#nixosConfigurations.live.config.system.build.isoImage .PHONY: android -android: +android: verify nix-on-droid switch --flake $(flake) .PHONY: check @@ -36,3 +36,7 @@ trace: .PHONY: show show: nix flake show + +.PHONY: verify +verify: + git verify-commit HEAD