games disk lvm
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
let
|
let
|
||||||
defaultNetworkShareOptions = [
|
defaultNetworkShareOptions = [
|
||||||
"sec=none"
|
"sec=none"
|
||||||
|
"nofail"
|
||||||
"x-systemd.automount"
|
"x-systemd.automount"
|
||||||
"auto"
|
"auto"
|
||||||
"rw"
|
"rw"
|
||||||
@@ -10,23 +11,49 @@ let
|
|||||||
"uid=matt"
|
"uid=matt"
|
||||||
"gid=wheel"
|
"gid=wheel"
|
||||||
];
|
];
|
||||||
|
defaultLocalOptions = [
|
||||||
|
"compress=zstd"
|
||||||
|
"autodefrag"
|
||||||
|
"nofail"
|
||||||
|
"x-systemd.automount"
|
||||||
|
"auto"
|
||||||
|
"rw"
|
||||||
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
fileSystems."/media/nas/backup" = {
|
fileSystems = {
|
||||||
device = "//10.0.1.18/Backup";
|
"/home/matt/Steam" = {
|
||||||
fsType = "cifs";
|
device = "/dev/storage/logical-storage";
|
||||||
options = defaultNetworkShareOptions;
|
options = [
|
||||||
};
|
"subvol=Steam"
|
||||||
|
"noatime"
|
||||||
|
] ++ defaultLocalOptions;
|
||||||
|
};
|
||||||
|
"/home/matt/Heroic" = {
|
||||||
|
device = "/dev/storage/logical-storage";
|
||||||
|
options = [
|
||||||
|
"subvol=Heroic"
|
||||||
|
"noatime"
|
||||||
|
] ++ defaultLocalOptions;
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/media/nas/isos" = {
|
# Network shares
|
||||||
device = "//10.0.1.18/isos";
|
"/media/nas/backup" = {
|
||||||
fsType = "cifs";
|
device = "//10.0.1.18/Backup";
|
||||||
options = defaultNetworkShareOptions;
|
fsType = "cifs";
|
||||||
};
|
options = defaultNetworkShareOptions;
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/media/nas/3d_printer" = {
|
"/media/nas/isos" = {
|
||||||
device = "//10.0.1.18/3d_printer";
|
device = "//10.0.1.18/isos";
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
options = defaultNetworkShareOptions;
|
options = defaultNetworkShareOptions;
|
||||||
|
};
|
||||||
|
|
||||||
|
"/media/nas/3d_printer" = {
|
||||||
|
device = "//10.0.1.18/3d_printer";
|
||||||
|
fsType = "cifs";
|
||||||
|
options = defaultNetworkShareOptions;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,15 +82,6 @@ in
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
fileSystems."/home/matt/Games" = {
|
|
||||||
device = "/dev/disk/by-uuid/1adb3161-ef9e-45d9-be5f-dd718186f1b3";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
fileSystems."/home/matt/1TB" = {
|
|
||||||
device = "/dev/disk/by-uuid/7f9c2d1e-64ee-d901-2084-2d1e64eed901";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
|||||||
Reference in New Issue
Block a user