diff --git a/hosts/common/network.nix b/hosts/common/network.nix index 51b09cc..afed8af 100644 --- a/hosts/common/network.nix +++ b/hosts/common/network.nix @@ -66,11 +66,26 @@ "workgroup" = "WORKGROUP"; "server string" = "smbnix"; "netbios name" = "smbnix"; - "hosts allow" = "192.168.0. 192.168. 192.168.122.55 127.0.0.1 localhost"; + "hosts allow" = "192.168.0. 192.168. 192.168.122.55 127.0.0.1 192.168.122.197 localhost"; "hosts deny" = "0.0.0.0/0"; "guest account" = "nobody"; "map to guest" = "bad user"; security = "user"; + # used for xp priter vm + # # Windows XP compatibility settings + # "server min protocol" = "NT1"; # Enable SMB1 for Windows XP + # "client min protocol" = "NT1"; + # "ntlm auth" = "yes"; # Required for Windows XP + # "lanman auth" = "yes"; # Required for Windows XP + # }; + # # Share for Windows XP access + # "shared" = { + # "path" = "/home/thiago/shared"; + # "browseable" = "yes"; + # "read only" = "no"; + # "guest ok" = "yes"; + # "create mask" = "0644"; + # "directory mask" = "0755"; }; }; };