diff --git a/luci/nixos/hardware-configuration.nix b/luci/nixos/hardware-configuration.nix index cd89ede..2f440f0 100644 --- a/luci/nixos/hardware-configuration.nix +++ b/luci/nixos/hardware-configuration.nix @@ -39,8 +39,8 @@ }; # Bind mount for nfs export - fileSystems."/nfs_export" = { - device = "zdata/zdata/nfs"; + fileSystems."/nfs_export/kage" = { + device = "zdata/zdata/kage"; options = [ "bind" ]; }; diff --git a/nate/nixos/hardware-configuration.nix b/nate/nixos/hardware-configuration.nix index d99eb3c..7be46d5 100644 --- a/nate/nixos/hardware-configuration.nix +++ b/nate/nixos/hardware-configuration.nix @@ -28,8 +28,8 @@ fsType = "ext4"; }; - fileSystems."/home/nate/nfs" = { - device = "192.168.1.169:/nfs_export"; + fileSystems."/home/nate/kage" = { + device = "192.168.1.169:/kage"; fsType = "nfs"; options = [ "nfsvers=4.2" "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ]; # lazy mounting and auto disconnect after 600 seconds }; diff --git a/shared/server-configuration.nix b/shared/server-configuration.nix index 1c31d16..64477dc 100644 --- a/shared/server-configuration.nix +++ b/shared/server-configuration.nix @@ -73,7 +73,7 @@ in services.nfs.server = lib.mkIf srvConfig.nfsEnable { enable = true; exports = '' - /nfs_export 192.168.1.149(rw,fsid=0,no_subtree_check) + /kage 192.168.1.149(rw,fsid=0,no_subtree_check) ''; };