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
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

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"]