summaryrefslogtreecommitdiff
path: root/hostnix/elmo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/elmo/Makefile')
-rw-r--r--hostnix/elmo/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/hostnix/elmo/Makefile b/hostnix/elmo/Makefile
index 3d33a3d..825a23e 100644
--- a/hostnix/elmo/Makefile
+++ b/hostnix/elmo/Makefile
@@ -4,7 +4,9 @@ push:
switch: push
ssh elmo sudo nixos-rebuild switch
-upgrade: push
- ssh elmo sudo nixos-rebuild switch --upgrade
+update:
+ nix flake update
-.PHONY: push switch upgrade
+upgrade: update switch
+
+.PHONY: push switch update upgrade