mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Filesystems] Add ntfs, ext4, vfat and exfat support
For all devices, regardless of hardware-configuration
This commit is contained in:
parent
f59ea4ff5d
commit
173cd78a2f
1 changed files with 2 additions and 0 deletions
|
|
@ -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}"''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue