adds declarative json config for backrest

This commit is contained in:
Dennis 2026-02-20 11:15:38 +01:00
parent 1873c4c92b
commit 34c736423f
2 changed files with 71 additions and 2 deletions

View file

@ -36,7 +36,12 @@
# Secrets
age = {
identityPaths = [ "${config.users.users.dennis.home}/.ssh/id_ed25519" ];
secrets."restic/password".file = ../../secrets/restic/password.age;
secrets."restic/password" = {
file = ../../secrets/restic/password.age;
# backrest reads the password via "file:<path>" in its repo config
group = "backrest";
mode = "0440";
};
};
# Nix Settings