aboutsummaryrefslogtreecommitdiff
path: root/home/programs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2026-01-09 19:11:37 -0800
committerFranck Cuny <franck@fcuny.net>2026-01-12 08:20:24 -0800
commit72307e4dca688a5f2b88cef26273aaa6a5e189db (patch)
tree7883bd1387cac0c0ad9180ef75fe0b98965706df /home/programs
parentclean up ssh keys for the admin user (diff)
downloadinfra-72307e4dca688a5f2b88cef26273aaa6a5e189db.tar.gz
don't use agenix from home manager
Install the key with the host's configuration and rekey the secrets.
Diffstat (limited to 'home/programs')
-rw-r--r--home/programs/restic.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/home/programs/restic.nix b/home/programs/restic.nix
index 0661251..582384f 100644
--- a/home/programs/restic.nix
+++ b/home/programs/restic.nix
@@ -21,15 +21,9 @@ in
{
home.packages = with pkgs; [ restic ];
- age.secrets.restic-password = {
- file = ../../secrets/restic-pw.age;
- path = "${config.home.homeDirectory}/.config/restic/password";
- mode = "400";
- };
-
home.sessionVariables = {
RESTIC_REPOSITORY = resticRepository;
- RESTIC_PASSWORD_FILE = config.age.secrets.restic-password.path;
+ RESTIC_PASSWORD_FILE = "/run/agenix/restic-password";
};
home.file.".config/restic/includes" = {