about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/secrets/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/secrets/default.nix b/modules/secrets/default.nix
index 55730ea..556bf32 100644
--- a/modules/secrets/default.nix
+++ b/modules/secrets/default.nix
@@ -1,6 +1,5 @@
 { config, inputs, lib, options, ... }:
-
-{
+with builtins; {
   imports = [ inputs.agenix.nixosModules.age ];
 
   config.age = {
@@ -18,7 +17,7 @@
       secrets = import ./secrets.nix;
     in lib.mapAttrs' convertSecrets secrets;
 
-    identityPaths = options.age.identityPaths.default
-      ++ (filter pathExists [ "${config.user.home}/.ssh/id_ed25519" ]);
+    identityPaths = options.age.identityPaths.default ++ (filter pathExists
+      [ "${config.users.users.fcuny.home}/.ssh/id_ed25519" ]);
   };
 }