modularized rpcbind enable and added to server config

This commit is contained in:
2026-07-13 02:00:55 +10:00
parent aa2af2d169
commit 06dc25c983
3 changed files with 11 additions and 5 deletions
+5 -4
View File
@@ -10,11 +10,12 @@
imports =
[ # Include the results of the hardware scan.
../../common/configuration.nix
../../modules/nix/cache-client.nix
../../modules/nix/remote-builder-client.nix
../../modules/nix-cache/client.nix
../../modules/remote-builder-client.nix
# ../../modules/nix/tailscale-exit-node.nix
# ../../modules/nix/enable-ip-forwarding.nix
../../modules/nix/beszel-agent.nix
../../modules/beszel/enable-agent.nix
../../modules/services/enable-rpcbind.nix
];
@@ -162,7 +163,7 @@ services.nfs.server = {
# services.openssh.settings.PermitRootLogin = "yes";
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 2049 111 ];
networking.firewall.allowedTCPPorts = [ 2049 ];
# networking.firewall.allowedUDPPorts = [ 111 2049 20048 ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;