From b73c35dc3b15811ce1771f34bcb3f7d3e8106221 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 12 Mar 2021 16:03:08 +0100 Subject: [PATCH] Change LAN and mountpoint in samba configuration --- modules/datasync.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/datasync.nix b/modules/datasync.nix index 98d1c2b..73b10c1 100644 --- a/modules/datasync.nix +++ b/modules/datasync.nix @@ -10,14 +10,14 @@ server string = samba netbios name = samba security = ${config.services.samba.securityType} - hosts allow = 192.168.1 localhost + hosts allow = 10.0.1 localhost hosts deny = 0.0.0.0/0 guest account = nobody map to guest = bad user ''; shares.public = { # FIXME Change path accordingly - sharepath = "/mnt/Shares/Public"; + sharepath = "/vault/samba"; browseable = "yes"; "read only" = "no"; "guest ok" = "yes";