From b2240d4d4f670ea21744fae3dd3b411af33ac161 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Sun, 16 Jun 2024 01:23:36 +0200 Subject: [PATCH] Add crossmnt to nfs root --- hosts/x86_64-linux/beleth/nfs.nix | 5 +---- hosts/x86_64-linux/beleth/wireguard.nix | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/hosts/x86_64-linux/beleth/nfs.nix b/hosts/x86_64-linux/beleth/nfs.nix index ad76bad..47c579d 100644 --- a/hosts/x86_64-linux/beleth/nfs.nix +++ b/hosts/x86_64-linux/beleth/nfs.nix @@ -11,10 +11,7 @@ server = { enable = true; exports = '' - /export 2a0f:be01:0:100::/64(ro,async,fsid=0,no_subtree_check) 2a0f:be01:0:200::/64(ro,async,fsid=0,no_subtree_check) 2a0f:be01:fe:f00::/56(ro,async,fsid=0,no_subtree_check) - /export/shows 2a0f:be01:0:100::/64(ro,async,no_subtree_check) 2a0f:be01:0:200::/64(ro,async,no_subtree_check) 2a0f:be01:fe:f00::/56(ro,async,no_subtree_check) - /export/movies 2a0f:be01:0:100::/64(ro,async,no_subtree_check) 2a0f:be01:0:200::/64(ro,async,no_subtree_check) 2a0f:be01:fe:f00::/56(ro,async,no_subtree_check) - /export/music 2a0f:be01:0:100::/64(ro,async,no_subtree_check) 2a0f:be01:0:200::/64(ro,async,no_subtree_check) 2a0f:be01:fe:f00::/56(ro,async,no_subtree_check) + /export 2a0f:be01:0:100::/64(ro,crossmnt,async,fsid=0,no_subtree_check) 2a0f:be01:0:200::/64(ro,crossmnt,async,fsid=0,no_subtree_check) 2a0f:be01:fe:f00::/56(ro,crossmnt,async,fsid=0,no_subtree_check) ''; }; }; diff --git a/hosts/x86_64-linux/beleth/wireguard.nix b/hosts/x86_64-linux/beleth/wireguard.nix index 7be41ce..7298472 100644 --- a/hosts/x86_64-linux/beleth/wireguard.nix +++ b/hosts/x86_64-linux/beleth/wireguard.nix @@ -31,7 +31,7 @@ "2a0f:be01:fe:f00::/56" ]; endpoint = "[2a0f:be01::1]:51822"; - persistentKeepalive = 15; + # persistentKeepalive = 15; } ]; };