ctucx.git: nixfiles

ctucx' nixfiles

commit a7a23f182a3a34d3f76f3558e2a2b22e8efecaa6
parent c014b97d962da6355a1bd622c1a049ad3f51ba22
Author: Leah (ctucx) <git@ctu.cx>
Date: Mon, 27 Mar 2023 13:54:59 +0200

machines/lollo: remove vnstat-backup
2 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/machines/lollo/backup-vnstat.nix b/machines/lollo/backup-vnstat.nix
@@ -1,14 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-{
-
-  age.secrets.restic-vnstat.file = ../../secrets/lollo/restic/vnstat.age;
-
-  restic-backups.vnstat = {
-    user         = "vnstatd";
-    passwordFile = config.age.secrets.restic-vnstat.path;
-    paths        = [ "/var/lib/vnstat" ];
-    targets      = [ "hector.ctu.cx" ];
-  };
-
-}
diff --git a/machines/lollo/configuration.nix b/machines/lollo/configuration.nix
@@ -1,12 +1,12 @@
 { inputs, config, lib, pkgs, ... }:
 
 {
+
   imports = [
     inputs.impermanence.nixosModules.impermanence
 
     ./hardware-configuration.nix
 
-    ./backup-vnstat.nix
 
     ./scanner-sftp.nix