fix: move restic to where it can find my age secrets 🚬
This commit is contained in:
parent
49b0ee4df4
commit
7a67da822a
1 changed files with 5 additions and 6 deletions
|
|
@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue