Allowing new subnet

This commit is contained in:
Jordan Ashurst
2026-10-06 04:55:35 -07:00
parent 28acea2eb1
commit c6cc36e28f
+6 -2
View File
@@ -1,4 +1,8 @@
{pkgs, ...}: { {
pkgs,
config,
...
}: {
services.samba = { services.samba = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
@@ -11,7 +15,7 @@
#"use sendfile" = "yes"; #"use sendfile" = "yes";
#"max protocol" = "smb2"; #"max protocol" = "smb2";
# note: localhost is the ipv6 localhost ::1 # note: localhost is the ipv6 localhost ::1
"hosts allow" = "192.168.1.1/24 127.0.0.1 localhost"; "hosts allow" = "192.168.0.1/24 127.0.0.1 localhost";
"guest account" = "nobody"; "guest account" = "nobody";
"map to guest" = "bad user"; "map to guest" = "bad user";
}; };