diff options
author | Alex Auvolat <alex@adnab.me> | 2023-03-29 20:06:02 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-03-29 20:06:02 +0200 |
commit | 7da914ad942d91169937b2eaa84960425de20d13 (patch) | |
tree | bd690ec702afe50b03a90be2dc73716c7ac98e0f /nixos/Makefile | |
parent | 8d5a8a704ad3b233f02603915b8ba26c7c710a69 (diff) | |
download | user-config-7da914ad942d91169937b2eaa84960425de20d13.tar.gz user-config-7da914ad942d91169937b2eaa84960425de20d13.zip |
add test command to makefile
Diffstat (limited to 'nixos/Makefile')
-rw-r--r-- | nixos/Makefile | 3 |
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 |