From 813a4f4340849b407eaa9d03f65fbe8f3e716bf2 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 14 Jan 2024 12:37:14 +0900 Subject: feat(modules): use types.path for secret paths --- modules/services/ldap.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/services/ldap.nix') diff --git a/modules/services/ldap.nix b/modules/services/ldap.nix index 7c4724f..e75d739 100644 --- a/modules/services/ldap.nix +++ b/modules/services/ldap.nix @@ -11,7 +11,7 @@ in dc = mkOption { type = types.str; }; tld = mkOption { type = types.str; }; tls.acmeHost = mkOption { type = types.str; default = "${cfg.dc}.${cfg.tld}"; }; - secrets.rootPass = mkOption { type = types.str; description = "path to the root password file"; }; + secrets.rootPass = mkOption { type = types.path; description = "path to the root password file"; }; }; config = mkIf cfg.enable { -- cgit 1.4.1