diff --git a/modules/sops/module.nix b/modules/sops/module.nix index 66e9788..3d9f193 100644 --- a/modules/sops/module.nix +++ b/modules/sops/module.nix @@ -15,7 +15,7 @@ in type = types.bool; default = true; }; - secretsFolder = mkOption { + secretsPath = mkOption { type = types.path; default = "${inputs.self}/secrets"; defaultText = "/secrets"; @@ -23,7 +23,7 @@ in }; config = lib.mkIf cfg.enable { sops = { - defaultSopsFile = lib.mkDefault (cfg.secretsFolder + "/hosts/${config.vacu.hostname}.yaml"); + defaultSopsFile = lib.mkDefault (cfg.secretsPath + "/hosts/${config.vacu.hostname}.yaml"); age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; gnupg.sshKeyPaths = [ ]; # explicitly empty to disable gnupg; I don't use it and it takes up space on minimal configs }; diff --git a/tests/liam/default.nix b/tests/liam/default.nix index ab940e0..cb984ad 100644 --- a/tests/liam/default.nix +++ b/tests/liam/default.nix @@ -194,7 +194,7 @@ in "postfix.service" "dovecot2.service" ]; - vacu.secretsFolder = "${sopsTestSecretsFolder}"; + vacu.secretsPath = "${sopsTestSecretsFolder}"; vacu.liam.relayhosts = { shelvacuAlt = "[badhost.blarg]:587"; allDomains = "[${relayDomain}]:587";