Fix sops-nix user key path

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-07-29 22:59:18 +01:00
parent 875cab9cd4
commit bb6209b8ba

View File

@@ -15,7 +15,7 @@ in
home-manager.users.${username} = {
imports = [ inputs.sops-nix.homeManagerModules.sops ];
sops.age.keyFile = "/persist${userConfig.home}/${sopsKeyPath}";
sops.age.keyFile = "${userConfig.home}/${sopsKeyPath}";
home = {
persistence."/persist${userConfig.home}".files = [ sopsKeyPath ];