summaryrefslogtreecommitdiff
path: root/nixos/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-03-22 16:10:26 +0100
committerAlex Auvolat <alex@adnab.me>2023-03-22 16:10:26 +0100
commit8d5a8a704ad3b233f02603915b8ba26c7c710a69 (patch)
tree2e8da945799c305a2fa4df0e072fafda68fc8b32 /nixos/Makefile
parent72e6e03e963cbbc9faf36d654dabdc28ea0140bb (diff)
downloaduser-config-8d5a8a704ad3b233f02603915b8ba26c7c710a69.tar.gz
user-config-8d5a8a704ad3b233f02603915b8ba26c7c710a69.zip
changes
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