From 34ce503cec41299678c2850f8c9c3b056b785845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 19 Aug 2023 19:26:54 -0300 Subject: [PATCH] monolith: add new storage device --- hosts/monolith.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/monolith.nix b/hosts/monolith.nix index a2ae744..5d09568 100644 --- a/hosts/monolith.nix +++ b/hosts/monolith.nix @@ -48,6 +48,10 @@ in bypassWorkqueues = true; device = "/dev/disk/by-label/CRYPT_DATA"; }; + "bigboy" = { + bypassWorkqueues = true; + device = "/dev/disk/by-label/CRYPT_BIGBOY"; + }; }; boot.loader.efi.efiSysMountPoint = "/boot/efi"; fileSystems."/boot/efi" = { @@ -79,6 +83,11 @@ in fsType = "btrfs"; 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 = '' ACTION=="add", SUBSYSTEM=="pci", DRIVER=="pcieport", ATTR{power/wakeup}="disabled" '';