1 { config, lib, pkgs, ... }:
16 description = lib.mdDoc ''
17 Whether to enable `rpcbind', an ONC RPC directory service
18 notably used by NFS and NIS, and which can be queried
19 using the rpcinfo(1) command. `rpcbind` is a replacement for
31 config = mkIf config.services.rpcbind.enable {
32 environment.systemPackages = [ pkgs.rpcbind ];
34 systemd.packages = [ pkgs.rpcbind ];
36 systemd.services.rpcbind = {
37 wantedBy = [ "multi-user.target" ];
42 uid = config.ids.uids.rpc;