diff options
Diffstat (limited to 'hosts/vidhar')
-rw-r--r-- | hosts/vidhar/borg/default.nix | 4 |
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"; }]); |