From 90c69965db7886edfe52a80ca6e8f92b7de115ca Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Sun, 13 Sep 2026 12:37:57 +0100 Subject: [PATCH] nixos/rpcbind: drop with lib Signed-off-by: Nikolaos Karaolidis --- nixos/modules/services/networking/rpcbind.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 ];