From 734715b2ef493f6af97c79a95edfca68b1510c64 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Thu, 11 Sep 2025 09:35:07 +0200 Subject: [PATCH] Remove SMB share on hs --- hosts/nixos/hs/system.nix | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/hosts/nixos/hs/system.nix b/hosts/nixos/hs/system.nix index ab0c256..c3376d9 100644 --- a/hosts/nixos/hs/system.nix +++ b/hosts/nixos/hs/system.nix @@ -223,27 +223,7 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; # Samba file sharing configuration - services.samba-custom = { - enable = true; - serverString = "hs NAS Server"; - workgroup = "WORKGROUP"; - shares = { - Media = { - path = "/mnt/storage/Media"; - comment = "Media Storage"; - browseable = true; - readOnly = false; - guestOk = false; - createMask = "0644"; - directoryMask = "0755"; - forceUser = "yanlin"; - forceGroup = "users"; - validUsers = [ "yanlin" ]; - }; - }; - enableWSDD = true; - openFirewall = false; - }; + services.samba-custom = { enable = false; }; # Borg backup configuration services.borgbackup-custom = {