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/searx.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/services/searx.nix') diff --git a/modules/services/searx.nix b/modules/services/searx.nix index 1436474..98f27d9 100644 --- a/modules/services/searx.nix +++ b/modules/services/searx.nix @@ -10,7 +10,7 @@ in package = mkOption { type = types.package; default = pkgs.searxng; }; domain = mkOption { type = types.str; }; realHost = mkOption { type = types.str; }; - secrets.searx-env = mkOption { type = types.str; description = "path to the searx secret envfile"; }; + secrets.searx-env = mkOption { type = types.path; description = "path to the searx secret envfile"; }; }; config = mkIf cfg.enable { -- cgit 1.4.1