ctucx.git: nixfiles

ctucx' nixfiles

commit ae0130e609864775708e9da971c304e5054a5954
parent 0b8c452e1d7d87c10711b5ce5aeb706084a18895
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 3 Feb 2022 14:25:47 +0100

machines/hector: add reestic-server
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/machines/hector/configuration.nix b/machines/hector/configuration.nix
@@ -5,7 +5,10 @@
   imports = [
     ./hardware-configuration.nix
     ../../configurations/common.nix
+    ../../configurations/notify-failure.nix
+
     ../../configurations/services/prometheus-node-exporter.nix
+    ../../configurations/services/restic-server.nix
   ];
 
   boot.loader.grub = {

@@ -40,6 +43,8 @@
     firewall.enable = true;
   };
 
+  systemd.services.restic.serviceConfig.ReadWritePaths = [ "/data/restic" ];
+
   system.stateVersion = "21.11";
   home-manager.users.leah.home.stateVersion = "21.11";
 }