Force usage of CIFS unix extension.

Unfortunately samba is removing them without replacement, so I'll have
to replace samba with something else...
This commit is contained in:
Gabriel Ebner 2020-10-03 12:32:43 +02:00
parent 3eae53f261
commit 750c817ce5
3 changed files with 5 additions and 3 deletions

@ -76,6 +76,7 @@ in
extraConfig = ''
passdb backend = tdbsam
unix password sync = no
min protocol = NT1
'';
shares = {
export = {

@ -60,19 +60,19 @@
fileSystems."/mnt/vaccaria" = {
device = "//vaccaria.htdf.gebner.org/export";
fsType = "cifs";
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria" "vers=1.0" ];
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria" "vers=1.0" "unix" ];
};
fileSystems."/mnt/aplysia" = {
device = "//aplysia.ams.gebner.org/export";
fsType = "cifs";
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aplysia" "vers=1.0" ];
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aplysia" "vers=1.0" "unix" ];
};
fileSystems."/mnt/aruanus" = {
device = "//aruanus.htdf.gebner.org/export";
fsType = "cifs";
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aruanus" "vers=1.0" ];
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aruanus" "vers=1.0" "unix" ];
};
users.extraUsers.gebner = {

@ -32,6 +32,7 @@
extraConfig = ''
passdb backend = tdbsam
unix password sync = no
min protocol = NT1
'';
shares = {
export = {