From d5f4c3035e2f4d91a8da0a5859dee93ceaf00eba Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 30 Jul 2025 14:16:48 +0200 Subject: [PATCH] feat(sgx): update Samba configuration for protocol and macOS - Set minimum protocol to SMB2 and enabled extended attribute (EA) support in Samba settings. - Added `fruit:nfs_aces` and `fruit:wipe_intentionally_left_blank_rfork` options for improved macOS compatibility. --- systems/x86_64-linux/sgx/fileserver.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/systems/x86_64-linux/sgx/fileserver.nix b/systems/x86_64-linux/sgx/fileserver.nix index 9c11c6c..98d7799 100644 --- a/systems/x86_64-linux/sgx/fileserver.nix +++ b/systems/x86_64-linux/sgx/fileserver.nix @@ -51,6 +51,8 @@ "workgroup" = "WORKGROUP"; "server string" = "sgx"; "netbios name" = "sgx"; + "min protocol" = "SMB2"; + "ea support" = "yes"; #"max protocol" = "smb2"; "hosts allow" = "192.168.178. 127.0.0.1 localhost 2003::/16 ::1"; "hosts deny" = "ALL"; @@ -67,6 +69,8 @@ "fruit:metadata" = "stream"; "fruit:delete_empty_adfiles" = "yes"; "fruit:veto_appledouble" = "no"; + "fruit:nfs_aces" = "no"; + "fruit:wipe_intentionally_left_blank_rfork" = "yes"; "spotlight" = "yes"; }; TimeMachineBackup = {