summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2024-10-02 12:11:29 -0400
committerJoe Mou <dev@mou.fo>2024-10-18 09:50:51 -0400
commitbacada68453df4cbe9a39efaaedfadc4691dc3bf (patch)
tree172386887491eb0135652e39e99536c93751d0c5
parentaa88710cfef541579e8a3b16e08a8133897b8249 (diff)
Add upgrade make target, add packages
-rw-r--r--hostnix/elmo/Makefile5
-rw-r--r--hostnix/elmo/configuration.nix3
2 files changed, 7 insertions, 1 deletions
diff --git a/hostnix/elmo/Makefile b/hostnix/elmo/Makefile
index a8816cd..237587a 100644
--- a/hostnix/elmo/Makefile
+++ b/hostnix/elmo/Makefile
@@ -4,4 +4,7 @@ push:
switch: push
ssh elmo sudo nixos-rebuild switch
-.PHONY: push switch
+upgrade: push
+ ssh elmo sudo nixos-rebuild switch --upgrade
+
+.PHONY: push switch upgrade
diff --git a/hostnix/elmo/configuration.nix b/hostnix/elmo/configuration.nix
index ec06b26..f203447 100644
--- a/hostnix/elmo/configuration.nix
+++ b/hostnix/elmo/configuration.nix
@@ -42,8 +42,10 @@
gitFull
openssl
psmisc
+ restic
tmux
tree
+ unzip
];
programs.vim.defaultEditor = true;
@@ -73,6 +75,7 @@
default = true;
enableACME = true;
forceSSL = true;
+ root = "/var/www";
};
};