monolith: add a generic data mount

This commit is contained in:
Leonardo Eugênio 2023-06-27 20:24:50 -03:00
parent 778604cd50
commit ab00a850fd

View file

@ -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"
'';