summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2020-01-12 14:19:04 +0100
committerGitHub <noreply@github.com>2020-01-12 14:19:04 +0100
commit9884cb3ed004984696a64915849afe175ac5c597 (patch)
tree6a6b40e2d3abaa9d552f6d3fdffebd07f3bfbeb4 /nixos/modules/services
parenta23a985594bf7c3eb543bdaf1e7a9c5b6ddd6099 (diff)
parent9d4b59b54949f0849ab9db9d30bc4cce7a205787 (diff)
downloadnixpkgs-9884cb3ed004984696a64915849afe175ac5c597.tar
nixpkgs-9884cb3ed004984696a64915849afe175ac5c597.tar.gz
nixpkgs-9884cb3ed004984696a64915849afe175ac5c597.tar.bz2
nixpkgs-9884cb3ed004984696a64915849afe175ac5c597.tar.lz
nixpkgs-9884cb3ed004984696a64915849afe175ac5c597.tar.xz
nixpkgs-9884cb3ed004984696a64915849afe175ac5c597.tar.zst
nixpkgs-9884cb3ed004984696a64915849afe175ac5c597.zip
Merge pull request #76861 from Infinisil/paths-as-submodules
lib/types: Allow paths as submodule values
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/security/certmgr.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/security/certmgr.nix b/nixos/modules/services/security/certmgr.nix
index e89078883eb..94c0ba14117 100644
--- a/nixos/modules/services/security/certmgr.nix
+++ b/nixos/modules/services/security/certmgr.nix
@@ -113,7 +113,7 @@ in
         otherCert = "/var/certmgr/specs/other-cert.json";
       }
       '';
-      type = with types; attrsOf (either (submodule {
+      type = with types; attrsOf (either path (submodule {
         options = {
           service = mkOption {
             type = nullOr str;
@@ -148,7 +148,7 @@ in
             description = "certmgr spec request object.";
           };
         };
-    }) path);
+    }));
       description = ''
         Certificate specs as described by:
         <link xlink:href="https://github.com/cloudflare/certmgr#certificate-specs" />