summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-03-29 20:06:02 +0200
committerAlex Auvolat <alex@adnab.me>2023-03-29 20:06:02 +0200
commit7da914ad942d91169937b2eaa84960425de20d13 (patch)
treebd690ec702afe50b03a90be2dc73716c7ac98e0f /nixos
parent8d5a8a704ad3b233f02603915b8ba26c7c710a69 (diff)
downloaduser-config-7da914ad942d91169937b2eaa84960425de20d13.tar.gz
user-config-7da914ad942d91169937b2eaa84960425de20d13.zip
add test command to makefile
Diffstat (limited to 'nixos')
-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