From cb1e896ee8d543e26a3da1f1697c6fce8f9f3483 Mon Sep 17 00:00:00 2001 From: kalipso Date: Tue, 25 Jun 2024 14:12:23 +0200 Subject: [PATCH] [lucia] rm samba till i have time to set it up properly --- machines/lucia/configuration.nix | 94 ++++++++++++++++---------------- 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/machines/lucia/configuration.nix b/machines/lucia/configuration.nix index 3791c39..bb867c1 100644 --- a/machines/lucia/configuration.nix +++ b/machines/lucia/configuration.nix @@ -100,54 +100,54 @@ in enable = true; }; - samba = { - enable = true; - securityType = "user"; - openFirewall = true; - extraConfig = '' - workgroup = WORKGROUP - server string = smbmalo - netbios name = smbmalo - security = user - #use sendfile = yes - #max protocol = smb2 - # note: localhost is the ipv6 localhost ::1 - hosts allow = 192.168.0. 127.0.0.1 localhost - hosts deny = 0.0.0.0/0 - guest account = nobody - map to guest = bad user - ''; - shares = { - zines = { - comment = "malobeo Zines"; - path = "/var/sambaShares/zines"; - browseable = "yes"; - "read only" = "no"; - "guest ok" = "yes"; - "create mask" = "0644"; - "directory mask" = "0755"; - #"force user" = "username"; - #"force group" = "groupname"; - "write list" = "malobeo"; - "read list" = "guest nobody"; - }; - #private = { - # path = "/mnt/Shares/Private"; - # browseable = "yes"; - # "read only" = "no"; - # "guest ok" = "no"; - # "create mask" = "0644"; - # "directory mask" = "0755"; - # "force user" = "username"; - # "force group" = "groupname"; - #}; - }; - }; + #samba = { + # enable = true; + # securityType = "user"; + # openFirewall = true; + # extraConfig = '' + # workgroup = maloinfra + # server string = smbmalo + # netbios name = smbmalo + # security = user + # #use sendfile = yes + # max protocol = smb2 + # # note: localhost is the ipv6 localhost ::1 + # hosts allow = 192.168.1. 127.0.0.1 localhost + # hosts deny = 0.0.0.0/0 + # guest account = nobody + # map to guest = bad user + # ''; + # shares = { + # zines = { + # comment = "malobeo Zines"; + # path = "/var/sambaShares/zines"; + # browseable = "yes"; + # "read only" = "no"; + # "guest ok" = "yes"; + # "create mask" = "0644"; + # "directory mask" = "0755"; + # #"force user" = "username"; + # #"force group" = "groupname"; + # "write list" = "malobeo"; + # "read list" = "guest nobody"; + # }; + # #private = { + # # path = "/mnt/Shares/Private"; + # # browseable = "yes"; + # # "read only" = "no"; + # # "guest ok" = "no"; + # # "create mask" = "0644"; + # # "directory mask" = "0755"; + # # "force user" = "username"; + # # "force group" = "groupname"; + # #}; + # }; + #}; - samba-wsdd = { - enable = true; - openFirewall = true; - }; + #samba-wsdd = { + # enable = true; + # openFirewall = true; + #}; hedgedoc = { enable = true;