diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-02-12 08:19:04 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-02-12 08:19:04 +0100 |
commit | 07f84bb581e369ff79100f0417e9d277f3c1fb61 (patch) | |
tree | 64ec899f185a3d794791df191f53939dbc67be41 /configuration/snorlax/samba.nix | |
parent | 8fe481c0858702231335ad6c5eb850b293781b61 (diff) |
alot of stuff
Diffstat (limited to 'configuration/snorlax/samba.nix')
-rw-r--r-- | configuration/snorlax/samba.nix | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/configuration/snorlax/samba.nix b/configuration/snorlax/samba.nix deleted file mode 100644 index 44a4be9..0000000 --- a/configuration/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" = "/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; - }; -} |