eple: disable nfs
This commit is contained in:
parent
d274285702
commit
bdc7158b2a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user