From 223723d018bc7ae053ca2bc8cd1d49ecab59246e Mon Sep 17 00:00:00 2001 From: Lilly Date: Wed, 7 Jan 2026 15:02:25 +0000 Subject: [PATCH] Auto-commit: 2026-01-07 15:02:25 --- hosts/lillyserver/samba-shares.nix | 52 ++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/hosts/lillyserver/samba-shares.nix b/hosts/lillyserver/samba-shares.nix index 8e3cecf..991cc98 100644 --- a/hosts/lillyserver/samba-shares.nix +++ b/hosts/lillyserver/samba-shares.nix @@ -3,5 +3,57 @@ enable = true; openFirewall = true; smbd.enable = true; + settings = '' +[global] +workgroup = LILLY +server string = LillyServer Samba +server role = standalone server +log file = /var/log/samba/%m.log +max log size = 50 + +[LillyNAS] + path = /mnt/lilly-storage/LillyNAS + guest ok = no + comment = + read only = no + shadow:snapdir = .zfs/snapshot + shadow:sort = desc + shadow:format = %Y-%m-%d-%H%M%S + valid users = "@lilly" "lilly" + vfs objects = shadow_copy2 + browseable = no + +[LillyPhoneSync] + path = /mnt/lilly-storage/LillyPhoneSync + guest ok = no + comment = Phone Data Sync + valid users = "lilly" + read only = no + browseable = no + +[PaperlessConsume] + path = /mnt/lilly-storage/PaperlessConsume + guest ok = no + comment = + read only = no + browseable = no + valid users = "lilly" "paperless-consume" + +[3D-Printing] + path = /mnt/lilly-storage/3D-Printing + guest ok = no + comment = + valid users = "lilly" + read only = no + browseable = no + +[Media] + path = /mnt/lilly-storage/Media + guest ok = no + comment = + valid users = "lilly" + read only = no + browseable = no +''; }; }