about summary refs log tree commit diff
path: root/modules/secrets
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/secrets/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/secrets/default.nix b/modules/secrets/default.nix
index e6f3a7b..55730ea 100644
--- a/modules/secrets/default.nix
+++ b/modules/secrets/default.nix
@@ -19,6 +19,6 @@
     in lib.mapAttrs' convertSecrets secrets;
 
     identityPaths = options.age.identityPaths.default
-      ++ [ "/home/fcuny/.ssh/id_ed25519" ];
+      ++ (filter pathExists [ "${config.user.home}/.ssh/id_ed25519" ]);
   };
 }