diff --git a/modules/home/sops.nix b/modules/home/sops.nix index 996b7c8..4fa098a 100644 --- a/modules/home/sops.nix +++ b/modules/home/sops.nix @@ -22,7 +22,7 @@ in config = lib.mkIf cfg.enable { sops = { 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"; }; }; }