summaryrefslogtreecommitdiff
path: root/modules/snorlax/samba.nix
diff options
context:
space:
mode:
authorJasper Ras <jaspert.ras@gmail.com>2025-03-29 12:54:20 +0100
committerJasper Ras <jaspert.ras@gmail.com>2025-03-29 12:54:20 +0100
commit5bf105b94f3c63bc738b788b2b651985eed96c11 (patch)
treec8b98b552fede2854fdc9ebf59f8a030ebd7e3cd /modules/snorlax/samba.nix
parent5b41ca762c6a44fa7a77e5f5324bcecf8a47f4c7 (diff)
dynamic nodes
Diffstat (limited to 'modules/snorlax/samba.nix')
-rw-r--r--modules/snorlax/samba.nix37
1 files changed, 0 insertions, 37 deletions
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;
- };
-}