From ab00a850fd85f5e5ba6c2bb50cf417a5aa0ff519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 27 Jun 2023 20:24:50 -0300 Subject: [PATCH] monolith: add a generic data mount --- hosts/monolith.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/monolith.nix b/hosts/monolith.nix index 969538b..7000285 100644 --- a/hosts/monolith.nix +++ b/hosts/monolith.nix @@ -77,6 +77,11 @@ in fsType = "btrfs"; options = [ "subvol=@music" "nofail" ] ++ btrfs_options; }; + fileSystems."/home/lelgenio/.local/mount/data" = { + device = "/dev/disk/by-label/BTRFS_DATA"; + fsType = "btrfs"; + options = [ "subvol=@data" "nofail" ] ++ btrfs_options; + }; services.udev.extraRules = '' ACTION=="add", SUBSYSTEM=="pci", DRIVER=="pcieport", ATTR{power/wakeup}="disabled" '';