eple: disable nfs

This commit is contained in:
Peder Bergebakken Sundt 2024-06-24 12:24:53 +02:00
parent d274285702
commit bdc7158b2a
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
services.nfs.server.enable = false; # TODO: remove?
imports = [
./hardware-configuration.nix
../../profiles/sshd.nix

View File

@ -41,7 +41,7 @@
statdPort = 4000;
extraNfsdConfig = '''';
};
networking.firewall = {
networking.firewall = lib.mkIf (config.services.nfs.server.enable) {
# for NFSv3; view with `rpcinfo -p`
allowedTCPPorts = [ 111 2049 4000 4001 4002 ]; # 20048
allowedUDPPorts = [ 111 2049 4000 4001 4002 ]; # 20048