monolith: add new storage device
This commit is contained in:
parent
fc60022bb7
commit
34ce503cec
|
@ -48,6 +48,10 @@ in
|
||||||
bypassWorkqueues = true;
|
bypassWorkqueues = true;
|
||||||
device = "/dev/disk/by-label/CRYPT_DATA";
|
device = "/dev/disk/by-label/CRYPT_DATA";
|
||||||
};
|
};
|
||||||
|
"bigboy" = {
|
||||||
|
bypassWorkqueues = true;
|
||||||
|
device = "/dev/disk/by-label/CRYPT_BIGBOY";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||||
fileSystems."/boot/efi" = {
|
fileSystems."/boot/efi" = {
|
||||||
|
@ -79,6 +83,11 @@ in
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@data" "nofail" ] ++ btrfs_options;
|
options = [ "subvol=@data" "nofail" ] ++ btrfs_options;
|
||||||
};
|
};
|
||||||
|
fileSystems."/home/lelgenio/.local/mount/bigboy" = {
|
||||||
|
device = "/dev/disk/by-label/BTRFS_BIGBOY";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "nofail" ] ++ btrfs_options ++ btrfs_ssd;
|
||||||
|
};
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
ACTION=="add", SUBSYSTEM=="pci", DRIVER=="pcieport", ATTR{power/wakeup}="disabled"
|
ACTION=="add", SUBSYSTEM=="pci", DRIVER=="pcieport", ATTR{power/wakeup}="disabled"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue