add shared share

This commit is contained in:
2026-03-19 21:40:24 +01:00
parent 103a5f3b2d
commit e27b5206e7
2 changed files with 18 additions and 5 deletions

View File

@@ -31,10 +31,10 @@
fsType = "ext4"; fsType = "ext4";
}; };
#fileSystems."/srv/dev-disk-by-uuid-98570615-8eda-4a45-8a20-3c58b50e3d79" = fileSystems."/srv/shared" =
# { device = "/dev/mapper/base--storage-NAS"; { device = "/dev/mapper/base--storage-NAS";
# fsType = "ext4"; fsType = "ext4";
# }; };
#fileSystems."/export/ShatteredMINT" = #fileSystems."/export/ShatteredMINT" =
# { device = "/srv/dev-disk-by-uuid-18333f38-626c-4c22-af29-314a87282809"; # { device = "/srv/dev-disk-by-uuid-18333f38-626c-4c22-af29-314a87282809";

View File

@@ -22,9 +22,22 @@
# }; # };
"homes" = { "homes" = {
"path" = "/srv/private/%S"; "path" = "/srv/private/%S";
"valid users" = "%S";
"writable" = "yes"; "writable" = "yes";
"comment" = "homes share"; "comment" = "homes share";
"browseable" = "no"; "browseable" = "yes";
"create mask" = "0700";
"directory mask" = "0700";
};
"shared" = {
"path" = "/srv/shared";
"writable" = "yes";
"comment" = "homes share";
"browseable" = "yes";
"create mask" = "0700";
"directory mask" = "0700";
"force user" = "shatteredmint";
}; };
}; };
}; };