From 5bf105b94f3c63bc738b788b2b651985eed96c11 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Sat, 29 Mar 2025 12:54:20 +0100 Subject: dynamic nodes --- modules/snorlax/samba.nix | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 modules/snorlax/samba.nix (limited to 'modules/snorlax/samba.nix') diff --git a/modules/snorlax/samba.nix b/modules/snorlax/samba.nix deleted file mode 100644 index c7b692b..0000000 --- a/modules/snorlax/samba.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ ... }: -{ - services.samba = { - enable = true; - securityType = "user"; - openFirewall = true; - settings = { - global = { - "workgroup" = "WORKGROUP"; - "server string" = "smbnix"; - "netbios name" = "smbnix"; - "security" = "user"; - "hosts allow" = "192.168.50. 127.0.0.1 localhost"; - "hosts deny" = "0.0.0.0/0"; - "guest account" = "nobody"; - "map to guest" = "bad user"; - }; - - photos = { - "path" = "/persist/srv/samba/photos"; - "browseable" = "yes"; - "read only" = "no"; - "guest ok" = "yes"; - "create mask" = "0644"; - "directory mask" = "0755"; - "force user" = "nobody"; - "force group" = "nogroup"; - }; - }; - }; - - # Used to advertise to Windows hosts - services.samba-wsdd = { - enable = true; - openFirewall = true; - }; -} -- cgit v1.2.3