modprobe: install systemd's modprobe options

Shipped by systemd to combat kmod default options that interfere with
the netdev setup, when those drivers are initially loaded.
This commit is contained in:
Martin Weinelt
2022-02-22 17:17:14 +01:00
parent 67574bd994
commit c2147ab6a8

View File

@@ -72,6 +72,8 @@ with lib;
'';
environment.etc."modprobe.d/debian.conf".source = pkgs.kmod-debian-aliases;
environment.etc."modprobe.d/systemd.conf".source = "${pkgs.systemd}/lib/modprobe.d/systemd.conf";
environment.systemPackages = [ pkgs.kmod ];
system.activationScripts.modprobe = stringAfter ["specialfs"]