nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit 74e07163d4a2e075ad0cac6448b86bd1d10a8106
parent 88647cb8ff13ef3e571a7fb2576fa0dcbd2f521f
Author: Peter <peter@minskio.co.uk>
Date:   Mon, 26 Oct 2026 15:34:46 +0000

Specify NFS version 4.2

Diffstat:
Mcommon/nfs-server.nix | 4++--
Mcommon/nfs.nix | 5++---
2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/common/nfs-server.nix b/common/nfs-server.nix @@ -6,7 +6,7 @@ ''; }; networking.firewall = { - allowedTCPPorts = [ 111 2049 ]; - allowedUDPPorts = [ 111 2049 ]; + allowedTCPPorts = [ 2049 ]; + allowedUDPPorts = [ 2049 ]; }; } diff --git a/common/nfs.nix b/common/nfs.nix @@ -2,6 +2,6 @@ fileSystems."/tank" = { device = "192.168.1.3:/tank"; fsType = "nfs"; - options = [ "x-systemd.automount" "noauto" ]; + options = [ "x-systemd.automount" "x-systemd.idle-timeout=0" "noauto" "nfsvers=4.2" ]; }; -} -\ No newline at end of file +}