From 173cd78a2f14d0565a155e4065b42842f2cd97da Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Sat, 6 Aug 2022 19:42:27 +0200 Subject: [PATCH] [Filesystems] Add ntfs, ext4, vfat and exfat support For all devices, regardless of hardware-configuration --- filesystems.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/filesystems.nix b/filesystems.nix index 7d3880b..0c197f2 100644 --- a/filesystems.nix +++ b/filesystems.nix @@ -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}"''