Fix defaultSopsFile

This commit is contained in:
SebastianStork 2025-07-16 21:40:46 +02:00
parent 8ab4f4b9e1
commit 526d3182ec

View file

@ -22,7 +22,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
sops = { sops = {
age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ]; age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
defaultSopsFile = "${self}/users/${config.home.username}/${cfg.hostName}/secrets.yaml"; defaultSopsFile = "${self}/users/${config.home.username}/@${cfg.hostName}/secrets.yaml";
}; };
}; };
} }