fix: move restic to where it can find my age secrets 🚬

This commit is contained in:
etwas 2025-11-14 22:26:45 +01:00
parent 49b0ee4df4
commit 7a67da822a
Signed by: etwas
SSH key fingerprint: SHA256:bHhIeAdn/2k9jmOs6+u6ox98VYmoHUN3HfnpV2w8Ws0

View file

@ -13,12 +13,6 @@
inputs.spicetify-nix.nixosModules.default inputs.spicetify-nix.nixosModules.default
]; ];
# Configure them here, because here I still have the system config.age. ...
home-manager.users.etwas.services.restic.backups.localbackup = {
passwordFile = config.age.secrets.restic-password.path;
environmentFile = config.age.secrets.restic-s3-key.path;
};
home-manager = { home-manager = {
useUserPackages = true; useUserPackages = true;
# useGlobalPkgs = true; # useGlobalPkgs = true;
@ -54,6 +48,11 @@
./misc_pkgs ./misc_pkgs
./wm ./wm
]; ];
services.restic.backups.localbackup = {
passwordFile = config.age.secrets.restic-password.path;
environmentFile = config.age.secrets.restic-s3-key.path;
};
}; };
}; };