summaryrefslogtreecommitdiff
path: root/nixos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/Makefile')
-rw-r--r--nixos/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/Makefile b/nixos/Makefile
index ba8182a..9f63139 100644
--- a/nixos/Makefile
+++ b/nixos/Makefile
@@ -1,5 +1,8 @@
all:
sudo nixos-rebuild switch -I nixos-config=`hostname`.nix
+boot:
+ sudo nixos-rebuild boot -I nixos-config=`hostname`.nix
+
up:
- sudo nixos-rebuild switch --upgrade -I nixos-config=`hostname`.nix
+ sudo nixos-rebuild boot --upgrade -I nixos-config=`hostname`.nix