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:
@@ -72,6 +72,8 @@ with lib;
|
|||||||
'';
|
'';
|
||||||
environment.etc."modprobe.d/debian.conf".source = pkgs.kmod-debian-aliases;
|
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 ];
|
environment.systemPackages = [ pkgs.kmod ];
|
||||||
|
|
||||||
system.activationScripts.modprobe = stringAfter ["specialfs"]
|
system.activationScripts.modprobe = stringAfter ["specialfs"]
|
||||||
|
|||||||
Reference in New Issue
Block a user