Remove SMB share on hs

This commit is contained in:
Yan Lin 2025-09-11 09:35:07 +02:00
parent d0137711b7
commit 734715b2ef

View file

@ -223,27 +223,7 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Samba file sharing configuration # Samba file sharing configuration
services.samba-custom = { services.samba-custom = { enable = false; };
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;
};
# Borg backup configuration # Borg backup configuration
services.borgbackup-custom = { services.borgbackup-custom = {