summaryrefslogtreecommitdiff
path: root/hosts/vidhar/samba.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/samba.nix')
-rw-r--r--hosts/vidhar/samba.nix32
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";