[Filesystems] Add ntfs, ext4, vfat and exfat support

For all devices, regardless of hardware-configuration
This commit is contained in:
Antoine Viallon 2022-08-06 19:42:27 +02:00
parent f59ea4ff5d
commit 173cd78a2f
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -72,6 +72,8 @@ in
fileSystems."/boot".neededForBoot = mkDefault true;
boot.supportedFilesystems = [ "ntfs" "ext4" "vfat" "exfat" ];
aviallon.filesystems.udevRules = mkBefore (concatLists [
(optional (!(builtins.isNull cfg.hddScheduler))
''ACTION!="remove", SUBSYSTEM=="block", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="${cfg.hddScheduler}"''