From 92e940e1d4e2de2f29bbfbe1e30b2fab53c4bc5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 12 Sep 2023 09:42:20 +0300 Subject: [PATCH] wip samba --- hosts/vno1-rp3b/configuration.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/hosts/vno1-rp3b/configuration.nix b/hosts/vno1-rp3b/configuration.nix index bcfd458..f1c0a0b 100644 --- a/hosts/vno1-rp3b/configuration.nix +++ b/hosts/vno1-rp3b/configuration.nix @@ -87,6 +87,25 @@ services.journald.extraConfig = "Storage=volatile"; + #services.samba = { + # enable = true; + # securityType = "user"; + # enableNmbd = true; + # enableWinbindd = false; + # extraConfig = '' + # map to guest = Bad User + # guest account = jakstpub + # passwd backend = tbdsam + # ''; + # shares = { + # public = { + # path = "/data/shared"; + # writable = "yes"; + # printable = "no"; + # }; + # }; + #}; + environment.etc = { "datapool-passphrase.txt".source = config.age.secrets.datapool-passphrase.path; };