lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

nixos/services.saslauthd: remove `with lib;`

+7 -10
+7 -10
nixos/modules/services/system/saslauthd.nix
··· 4 4 pkgs, 5 5 ... 6 6 }: 7 - 8 - with lib; 9 - 10 7 let 11 8 12 9 cfg = config.services.saslauthd; ··· 21 18 22 19 services.saslauthd = { 23 20 24 - enable = mkEnableOption "saslauthd, the Cyrus SASL authentication daemon"; 21 + enable = lib.mkEnableOption "saslauthd, the Cyrus SASL authentication daemon"; 25 22 26 - package = mkPackageOption pkgs [ "cyrus_sasl" "bin" ] { }; 23 + package = lib.mkPackageOption pkgs [ "cyrus_sasl" "bin" ] { }; 27 24 28 - mechanism = mkOption { 29 - type = types.str; 25 + mechanism = lib.mkOption { 26 + type = lib.types.str; 30 27 default = "pam"; 31 28 description = "Auth mechanism to use"; 32 29 }; 33 30 34 - config = mkOption { 35 - type = types.lines; 31 + config = lib.mkOption { 32 + type = lib.types.lines; 36 33 default = ""; 37 34 description = "Configuration to use for Cyrus SASL authentication daemon."; 38 35 }; ··· 43 40 44 41 ###### implementation 45 42 46 - config = mkIf cfg.enable { 43 + config = lib.mkIf cfg.enable { 47 44 48 45 systemd.services.saslauthd = { 49 46 description = "Cyrus SASL authentication daemon";