summaryrefslogtreecommitdiff
path: root/hosts/vidhar/samba.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-03-05 13:15:33 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-03-05 13:15:33 +0100
commit3206ce36cb1232e176715973c9bd443fd462b54b (patch)
tree7e3dfafd1afad237f3fb3fe60afdf96c798d7b0e /hosts/vidhar/samba.nix
parent561046779758d2db6af5609b0a66aed134d86275 (diff)
downloadnixos-3206ce36cb1232e176715973c9bd443fd462b54b.tar
nixos-3206ce36cb1232e176715973c9bd443fd462b54b.tar.gz
nixos-3206ce36cb1232e176715973c9bd443fd462b54b.tar.bz2
nixos-3206ce36cb1232e176715973c9bd443fd462b54b.tar.xz
nixos-3206ce36cb1232e176715973c9bd443fd462b54b.zip
vidhar: remove printing
Diffstat (limited to 'hosts/vidhar/samba.nix')
-rw-r--r--hosts/vidhar/samba.nix15
1 files changed, 3 insertions, 12 deletions
diff --git a/hosts/vidhar/samba.nix b/hosts/vidhar/samba.nix
index cbe158a9..89d9f12e 100644
--- a/hosts/vidhar/samba.nix
+++ b/hosts/vidhar/samba.nix
@@ -4,28 +4,19 @@
4 services.samba = { 4 services.samba = {
5 enable = true; 5 enable = true;
6 securityType = "user"; 6 securityType = "user";
7 package = pkgs.samba4.override {
8 enablePrinting = true;
9 };
10 extraConfig = '' 7 extraConfig = ''
11 domain master = yes 8 domain master = yes
12 workgroup = WORKGROUP 9 workgroup = WORKGROUP
13 load printers = no 10 load printers = no
14 printing = cups 11 printing = bsd
15 cups server = 10.141.4.1 12 printcap name = /dev/null
13 disable spoolss = yes
16 guest account = nobody 14 guest account = nobody
17 bind interfaces only = yes 15 bind interfaces only = yes
18 interfaces = lo lan 16 interfaces = lo lan
19 server signing = mandatory 17 server signing = mandatory
20 server min protocol = SMB3 18 server min protocol = SMB3
21 server smb encrypt = required 19 server smb encrypt = required
22
23 [printers]
24 path = /srv/samba-printing
25 browseable = yes
26 printable = yes
27 writable = no
28 create mode = 0700
29 ''; 20 '';
30 shares = { 21 shares = {
31 homes = { 22 homes = {