diff --git a/nixos/modules/services/networking/rpcbind.nix b/nixos/modules/services/networking/rpcbind.nix index 2a742aec7f50..f16d44af4816 100644 --- a/nixos/modules/services/networking/rpcbind.nix +++ b/nixos/modules/services/networking/rpcbind.nix @@ -5,8 +5,6 @@ ... }: -with lib; - { ###### interface @@ -15,8 +13,8 @@ with lib; services.rpcbind = { - enable = mkOption { - type = types.bool; + enable = lib.mkOption { + type = lib.types.bool; default = false; description = '' Whether to enable `rpcbind`, an ONC RPC directory service @@ -32,8 +30,8 @@ with lib; ###### implementation - config = mkMerge [ - (mkIf config.services.rpcbind.enable { + config = lib.mkMerge [ + (lib.mkIf config.services.rpcbind.enable { environment.systemPackages = [ pkgs.rpcbind ]; systemd.packages = [ pkgs.rpcbind ];