idk
This commit is contained in:
@@ -1,47 +1,32 @@
|
||||
{ ... }:
|
||||
let
|
||||
defaultNetworkShareOptions = [
|
||||
"sec=none"
|
||||
"x-systemd.automount"
|
||||
"auto"
|
||||
"rw"
|
||||
"file_mode=0775"
|
||||
"dir_mode=0775"
|
||||
"uid=matt"
|
||||
"gid=wheel"
|
||||
];
|
||||
in
|
||||
{
|
||||
fileSystems."/media/nas/backup" = {
|
||||
device = "//10.0.1.18/Backup";
|
||||
fsType = "cifs";
|
||||
options = [
|
||||
"sec=none"
|
||||
"x-systemd.automount"
|
||||
"auto"
|
||||
"rw"
|
||||
"file_mode=0775"
|
||||
"dir_mode=0775"
|
||||
"uid=matt"
|
||||
"gid=wheel"
|
||||
];
|
||||
options = defaultNetworkShareOptions;
|
||||
};
|
||||
|
||||
fileSystems."/media/nas/isos" = {
|
||||
device = "//10.0.1.18/isos";
|
||||
fsType = "cifs";
|
||||
options = [
|
||||
"sec=none"
|
||||
"x-systemd.automount"
|
||||
"auto"
|
||||
"rw"
|
||||
"file_mode=0775"
|
||||
"dir_mode=0775"
|
||||
"uid=matt"
|
||||
"gid=wheel"
|
||||
];
|
||||
options = defaultNetworkShareOptions;
|
||||
};
|
||||
|
||||
fileSystems."/media/nas/3d_printer" = {
|
||||
device = "//10.0.1.18/3d_printer";
|
||||
fsType = "cifs";
|
||||
options = [
|
||||
"sec=none"
|
||||
"x-systemd.automount"
|
||||
"auto"
|
||||
"rw"
|
||||
"file_mode=0775"
|
||||
"dir_mode=0775"
|
||||
"uid=matt"
|
||||
"gid=wheel"
|
||||
];
|
||||
options = defaultNetworkShareOptions;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user