nixos/cfssl: Add Disable Option (#393943)

authored by Sandro and committed by GitHub 44aa0e9d c115936c

+7
+7
nixos/modules/services/security/cfssl.nix
··· 164 164 ]; 165 165 description = "Log level (0 = DEBUG, 5 = FATAL)."; 166 166 }; 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 + }; 167 173 }; 168 174 169 175 config = lib.mkIf cfg.enable { ··· 218 224 (opt "tls-remote-ca" tlsRemoteCa) 219 225 (opt "db-config" dbConfig) 220 226 (opt "loglevel" (toString logLevel)) 227 + (opt "disable" disable) 221 228 ]; 222 229 } 223 230 (lib.mkIf (cfg.dataDir == options.services.cfssl.dataDir.default) {