From 7883fe422158a10b3e3dc515af84a75c1253553f Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 24 Nov 2025 16:01:04 +0100 Subject: [PATCH] chore(nix): update fileserver configuration - Reformatted `netatalk` service dependencies for readability. - Updated `hosts allow` setting to include `100.64.0.` for enhanced network access control. --- systems/x86_64-linux/sgx/fileserver.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/systems/x86_64-linux/sgx/fileserver.nix b/systems/x86_64-linux/sgx/fileserver.nix index 98d7799..41c3076 100644 --- a/systems/x86_64-linux/sgx/fileserver.nix +++ b/systems/x86_64-linux/sgx/fileserver.nix @@ -1,8 +1,15 @@ -{ ... +{ + ... }: { - systemd.services.netatalk.requires = [ "mnt-backup.mount" "mnt-raid.mount" ]; - systemd.services.netatalk.after = [ "mnt-backup.mount" "mnt-raid.mount" ]; + systemd.services.netatalk.requires = [ + "mnt-backup.mount" + "mnt-raid.mount" + ]; + systemd.services.netatalk.after = [ + "mnt-backup.mount" + "mnt-raid.mount" + ]; services.netatalk = { enable = false; settings = { @@ -54,7 +61,7 @@ "min protocol" = "SMB2"; "ea support" = "yes"; #"max protocol" = "smb2"; - "hosts allow" = "192.168.178. 127.0.0.1 localhost 2003::/16 ::1"; + "hosts allow" = "100.64.0. 192.168.178. 127.0.0.1 localhost 2003::/16 ::1"; "hosts deny" = "ALL"; "guest account" = "nobody"; "map to guest" = "bad user";