From b066b117d8e4442ac3b4b97c279d54e803db35d8 Mon Sep 17 00:00:00 2001
From: Thiago Sposito
Date: Sat, 10 Jan 2026 20:02:00 -0300
Subject: [PATCH] feat: xp vm config for printing
---
hosts/common/network.nix | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
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";
};
};
};