From aa77690b7a54036308f84d461a4b7fb90f9ffd75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 22 Mar 2025 03:06:02 +0100 Subject: [PATCH] fix: small error that slipped by Leftover from the refactor T-T --- modules/hm/users.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/hm/users.nix b/modules/hm/users.nix index 4b6ce60..58b3dc1 100644 --- a/modules/hm/users.nix +++ b/modules/hm/users.nix @@ -29,11 +29,12 @@ in }; }; - xdg.configFile.pam-gnupg.text = - lib.mkIf (cfg.unlockKeys != [ ]) '' + xdg.configFile.pam-gnupg = lib.mkIf (cfg.unlockKeys != [ ]) { + text = '' ${config.programs.gpg.homedir} - '' - + (lib.strings.concatLines cfg.gpg.unlockKeys); + ${lib.strings.concatLines cfg.gpg.unlockKeys} + ''; + }; }; }