From 4b014ed29ff60adf6934c6f72d12c37c178585cb Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Sun, 16 Mar 2025 20:56:20 -0500 Subject: [PATCH] added more options to nfs config on horizon --- .../nixos/horizon/hardware-configuration.nix | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/configurations/nixos/horizon/hardware-configuration.nix b/configurations/nixos/horizon/hardware-configuration.nix index ed743e9..e88d8dc 100644 --- a/configurations/nixos/horizon/hardware-configuration.nix +++ b/configurations/nixos/horizon/hardware-configuration.nix @@ -41,65 +41,71 @@ }; "/mnt/leyla_documents" = { - device = "defiant:/exports/leyla_documents"; + device = "defiant:/export/leyla_documents"; fsType = "nfs"; options = [ + "vers=4" "x-systemd.automount" "noauto" "user" "noatime" "nofail" - "soft" "x-systemd.idle-timeout=600" "fsc" + "timeo=600" + "retrans=2" ]; }; "/mnt/eve_documents" = { - device = "defiant:/exports/eve_documents"; + device = "defiant:/export/eve_documents"; fsType = "nfs"; options = [ + "vers=4" "x-systemd.automount" "noauto" "user" "nofail" - "soft" "x-systemd.idle-timeout=600" "fsc" + "timeo=600" + "retrans=2" ]; }; "/mnt/users_documents" = { - device = "defiant:/exports/users_documents"; + device = "defiant:/export/users_documents"; fsType = "nfs"; options = [ + "vers=4" "x-systemd.automount" "noauto" "user" "nofail" - "soft" "x-systemd.idle-timeout=600" "fsc" + "timeo=600" + "retrans=2" ]; }; "/mnt/media" = { - device = "defiant:/exports/media"; + device = "defiant:/export/media"; fsType = "nfs"; options = [ + "vers=4" "x-systemd.automount" "noauto" "user" "noatime" "nofail" - "soft" "x-systemd.idle-timeout=600" "noatime" "nodiratime" "relatime" - "rsize=32768" - "wsize=32768" "fsc" + "timeo=600" + "retrans=2" ]; }; };