moved restic password secret

This commit is contained in:
John Lancaster
2026-03-24 23:01:19 -05:00
parent eac053ca07
commit 1b4b3fbd6a
2 changed files with 39 additions and 1 deletions
+5 -1
View File
@@ -68,9 +68,13 @@ in
# This provides the keys at build time and will be included in the nix store
sops.defaultSopsFile = ../../../keys/secrets.yaml;
sops.secrets."restic_password/john_ubuntu" = {
# This will provide the edit-secrets script targeting this file
mysops.hostSecretFile = "${config.xdg.configHome}/home-manager/jsl-dendritic/keys/secrets.yaml";
sops.secrets."restic_password" = {
path = resticPasswordFile;
mode = "0400";
sopsFile = ./secrets.yaml;
};
restic = {
passwordFile = resticPasswordFile;