games disk lvm
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
let
|
||||
defaultNetworkShareOptions = [
|
||||
"sec=none"
|
||||
"nofail"
|
||||
"x-systemd.automount"
|
||||
"auto"
|
||||
"rw"
|
||||
@@ -10,23 +11,49 @@ let
|
||||
"uid=matt"
|
||||
"gid=wheel"
|
||||
];
|
||||
defaultLocalOptions = [
|
||||
"compress=zstd"
|
||||
"autodefrag"
|
||||
"nofail"
|
||||
"x-systemd.automount"
|
||||
"auto"
|
||||
"rw"
|
||||
];
|
||||
in
|
||||
{
|
||||
fileSystems."/media/nas/backup" = {
|
||||
device = "//10.0.1.18/Backup";
|
||||
fsType = "cifs";
|
||||
options = defaultNetworkShareOptions;
|
||||
};
|
||||
fileSystems = {
|
||||
"/home/matt/Steam" = {
|
||||
device = "/dev/storage/logical-storage";
|
||||
options = [
|
||||
"subvol=Steam"
|
||||
"noatime"
|
||||
] ++ defaultLocalOptions;
|
||||
};
|
||||
"/home/matt/Heroic" = {
|
||||
device = "/dev/storage/logical-storage";
|
||||
options = [
|
||||
"subvol=Heroic"
|
||||
"noatime"
|
||||
] ++ defaultLocalOptions;
|
||||
};
|
||||
|
||||
fileSystems."/media/nas/isos" = {
|
||||
device = "//10.0.1.18/isos";
|
||||
fsType = "cifs";
|
||||
options = defaultNetworkShareOptions;
|
||||
};
|
||||
# Network shares
|
||||
"/media/nas/backup" = {
|
||||
device = "//10.0.1.18/Backup";
|
||||
fsType = "cifs";
|
||||
options = defaultNetworkShareOptions;
|
||||
};
|
||||
|
||||
fileSystems."/media/nas/3d_printer" = {
|
||||
device = "//10.0.1.18/3d_printer";
|
||||
fsType = "cifs";
|
||||
options = defaultNetworkShareOptions;
|
||||
"/media/nas/isos" = {
|
||||
device = "//10.0.1.18/isos";
|
||||
fsType = "cifs";
|
||||
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
|
||||
# (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
|
||||
|
||||
Reference in New Issue
Block a user