nixos/lighttpd: support new authentication modules

authored by Brecht Savelkoul and committed by Bjørn Forsman 8a585fd5 baa04706

+13 -1
+13 -1
nixos/modules/services/web-servers/lighttpd/default.nix
··· 38 "mod_rrdtool" 39 "mod_accesslog" 40 # Remaining list of modules, order assumed to be unimportant. 41 "mod_authn_file" 42 "mod_authn_gssapi" 43 "mod_authn_ldap" 44 "mod_authn_mysql" 45 "mod_cml" 46 "mod_deflate" 47 "mod_evasive" ··· 129 type = types.bool; 130 description = '' 131 Enable the lighttpd web server. 132 ''; 133 }; 134 ··· 240 description = "Lighttpd Web Server"; 241 after = [ "network.target" ]; 242 wantedBy = [ "multi-user.target" ]; 243 - serviceConfig.ExecStart = "${pkgs.lighttpd}/sbin/lighttpd -D -f ${configFile}"; 244 # SIGINT => graceful shutdown 245 serviceConfig.KillSignal = "SIGINT"; 246 };
··· 38 "mod_rrdtool" 39 "mod_accesslog" 40 # Remaining list of modules, order assumed to be unimportant. 41 + "mod_authn_dbi" 42 "mod_authn_file" 43 "mod_authn_gssapi" 44 "mod_authn_ldap" 45 "mod_authn_mysql" 46 + "mod_authn_pam" 47 + "mod_authn_sasl" 48 "mod_cml" 49 "mod_deflate" 50 "mod_evasive" ··· 132 type = types.bool; 133 description = '' 134 Enable the lighttpd web server. 135 + ''; 136 + }; 137 + 138 + package = mkOption { 139 + default = pkgs.lighttpd; 140 + defaultText = "pkgs.lighttpd"; 141 + type = types.package; 142 + description = '' 143 + lighttpd package to use. 144 ''; 145 }; 146 ··· 252 description = "Lighttpd Web Server"; 253 after = [ "network.target" ]; 254 wantedBy = [ "multi-user.target" ]; 255 + serviceConfig.ExecStart = "${cfg.package}/sbin/lighttpd -D -f ${configFile}"; 256 # SIGINT => graceful shutdown 257 serviceConfig.KillSignal = "SIGINT"; 258 };