summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-18 12:09:45 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-18 12:09:45 +0100
commitdfcf1e421b3a5f0fffcb4fa5c1f6e0d94b069965 (patch)
tree4ebb9002c2eb4d2da16c4a6cfb4f0e002edda00c
parent5d80ed9d80b551327d75f8738f77363cb94e2b9f (diff)
downloadnixos-dfcf1e421b3a5f0fffcb4fa5c1f6e0d94b069965.tar
nixos-dfcf1e421b3a5f0fffcb4fa5c1f6e0d94b069965.tar.gz
nixos-dfcf1e421b3a5f0fffcb4fa5c1f6e0d94b069965.tar.bz2
nixos-dfcf1e421b3a5f0fffcb4fa5c1f6e0d94b069965.tar.xz
nixos-dfcf1e421b3a5f0fffcb4fa5c1f6e0d94b069965.zip
vidhar: ...
-rw-r--r--hosts/vidhar/borg/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/vidhar/borg/default.nix b/hosts/vidhar/borg/default.nix
index 3804aa76..4dba6caf 100644
--- a/hosts/vidhar/borg/default.nix
+++ b/hosts/vidhar/borg/default.nix
@@ -100,14 +100,14 @@ in {
100 sopsFile = ./append.borgbase; 100 sopsFile = ./append.borgbase;
101 owner = "borg"; 101 owner = "borg";
102 group = "borg"; 102 group = "borg";
103 mode = "0640"; 103 mode = "0400";
104 }; 104 };
105 sops.secrets."yggdrasil.borgkey" = { 105 sops.secrets."yggdrasil.borgkey" = {
106 format = "binary"; 106 format = "binary";
107 sopsFile = ./yggdrasil.borgkey; 107 sopsFile = ./yggdrasil.borgkey;
108 owner = "borg"; 108 owner = "borg";
109 group = "borg"; 109 group = "borg";
110 mode = "0640"; 110 mode = "0400";
111 }; 111 };
112 112
113 systemd.services = listToAttrs (map copyService [{ repo = "/srv/backup/borg/jotnar"; repoEscaped = "srv-backup-borg-jotnar"; }]); 113 systemd.services = listToAttrs (map copyService [{ repo = "/srv/backup/borg/jotnar"; repoEscaped = "srv-backup-borg-jotnar"; }]);