diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-10-20 21:11:51 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-10-20 21:11:51 +0200 |
commit | eb0d6a1274f98de0448a9ddb466e2e30d1721895 (patch) | |
tree | d2fef406e8a1e3f9ebf85a29afac322de365f367 /hosts/vidhar/samba.nix | |
parent | f6e341bdbbec0d05a5c20baf79cd1704f6fa3df2 (diff) | |
download | nixos-eb0d6a1274f98de0448a9ddb466e2e30d1721895.tar nixos-eb0d6a1274f98de0448a9ddb466e2e30d1721895.tar.gz nixos-eb0d6a1274f98de0448a9ddb466e2e30d1721895.tar.bz2 nixos-eb0d6a1274f98de0448a9ddb466e2e30d1721895.tar.xz nixos-eb0d6a1274f98de0448a9ddb466e2e30d1721895.zip |
...
Diffstat (limited to 'hosts/vidhar/samba.nix')
-rw-r--r-- | hosts/vidhar/samba.nix | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/hosts/vidhar/samba.nix b/hosts/vidhar/samba.nix index 89d9f12e..58fd435c 100644 --- a/hosts/vidhar/samba.nix +++ b/hosts/vidhar/samba.nix | |||
@@ -3,22 +3,22 @@ | |||
3 | config = { | 3 | config = { |
4 | services.samba = { | 4 | services.samba = { |
5 | enable = true; | 5 | enable = true; |
6 | securityType = "user"; | 6 | settings = { |
7 | extraConfig = '' | 7 | global = { |
8 | domain master = yes | 8 | security = "user"; |
9 | workgroup = WORKGROUP | 9 | "domain master" = true; |
10 | load printers = no | 10 | workgroup = "WORKGROUP"; |
11 | printing = bsd | 11 | "load printers" = false; |
12 | printcap name = /dev/null | 12 | printing = "bsd"; |
13 | disable spoolss = yes | 13 | "printcap name" = "/dev/null"; |
14 | guest account = nobody | 14 | "disable spoolss" = true; |
15 | bind interfaces only = yes | 15 | "guest account" = "nobody"; |
16 | interfaces = lo lan | 16 | "bind interfaces only" = true; |
17 | server signing = mandatory | 17 | interfaces = ["lo" "lan"]; |
18 | server min protocol = SMB3 | 18 | "server signing" = "mandatory"; |
19 | server smb encrypt = required | 19 | "server min protocol" = "SMB3"; |
20 | ''; | 20 | "server smb encrypt" = "required"; |
21 | shares = { | 21 | }; |
22 | homes = { | 22 | homes = { |
23 | comment = "Home directory for %S"; | 23 | comment = "Home directory for %S"; |
24 | path = "/home/%S"; | 24 | path = "/home/%S"; |