summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/Makefile b/nixos/Makefile
index 9f63139..4c86e58 100644
--- a/nixos/Makefile
+++ b/nixos/Makefile
@@ -4,5 +4,8 @@ all:
boot:
sudo nixos-rebuild boot -I nixos-config=`hostname`.nix
+test:
+ nixos-rebuild build -I nixos-config=`hostname`.nix
+
up:
sudo nixos-rebuild boot --upgrade -I nixos-config=`hostname`.nix