samba some progress
This commit is contained in:
@@ -80,6 +80,13 @@
|
||||
publicKey = myData.hosts."vno1-oh2.servers.jakst".publicKey;
|
||||
};
|
||||
};
|
||||
|
||||
jakstpub = {
|
||||
enable = true;
|
||||
dataDir = "/data/shared";
|
||||
requires = ["data-shared.mount"];
|
||||
uidgid = myData.uidgid.jakstpub;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -87,25 +94,6 @@
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user