nixos/systemd-stage-1: include modprobe confg in initrd
This commit is contained in:
parent
67d138a0c8
commit
c5c42d4fbe
|
@ -372,6 +372,8 @@ in {
|
||||||
"/etc/os-release".source = config.boot.initrd.osRelease;
|
"/etc/os-release".source = config.boot.initrd.osRelease;
|
||||||
"/etc/initrd-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 = [
|
storePaths = [
|
||||||
|
|
Loading…
Reference in a new issue