mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
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:
parent
67574bd994
commit
c2147ab6a8
1 changed files with 2 additions and 0 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue