Skip to content

Commit 44aa0e9

Browse files
nixos/cfssl: Add Disable Option (NixOS#393943)
2 parents c115936 + 4392f03 commit 44aa0e9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

nixos/modules/services/security/cfssl.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,12 @@ in
164164
];
165165
description = "Log level (0 = DEBUG, 5 = FATAL).";
166166
};
167+
168+
disable = lib.mkOption {
169+
default = null;
170+
type = lib.types.nullOr lib.types.commas;
171+
description = "Endpoints to disable (comma-separated list)";
172+
};
167173
};
168174

169175
config = lib.mkIf cfg.enable {
@@ -218,6 +224,7 @@ in
218224
(opt "tls-remote-ca" tlsRemoteCa)
219225
(opt "db-config" dbConfig)
220226
(opt "loglevel" (toString logLevel))
227+
(opt "disable" disable)
221228
];
222229
}
223230
(lib.mkIf (cfg.dataDir == options.services.cfssl.dataDir.default) {

0 commit comments

Comments
 (0)