mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/systemd-stage-1: include modprobe confg in initrd
This commit is contained in:
parent
67d138a0c8
commit
c5c42d4fbe
1 changed files with 2 additions and 0 deletions
|
@ -372,6 +372,8 @@ in {
|
|||
"/etc/os-release".source = config.boot.initrd.osRelease;
|
||||
"/etc/initrd-release".source = config.boot.initrd.osRelease;
|
||||
|
||||
} // optionalAttrs (config.environment.etc ? "modprobe.d/nixos.conf") {
|
||||
"/etc/modprobe.d/nixos.conf".source = config.environment.etc."modprobe.d/nixos.conf".source;
|
||||
};
|
||||
|
||||
storePaths = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue