summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2022-05-02 17:20:19 +0200
committerGitHub <noreply@github.com>2022-05-02 17:20:19 +0200
commitd12e29cd94fd676f238f056d663e5b715999d0dd (patch)
treecf18eced87c927f5c6c632fff771e9efbbe795cb /nixos
parenteb8d940ba4f88f533f0a4589e70aa699e29ffd67 (diff)
parent5d02b868881386e126a40526c5073b29f4c54a89 (diff)
downloadnixpkgs-d12e29cd94fd676f238f056d663e5b715999d0dd.tar
nixpkgs-d12e29cd94fd676f238f056d663e5b715999d0dd.tar.gz
nixpkgs-d12e29cd94fd676f238f056d663e5b715999d0dd.tar.bz2
nixpkgs-d12e29cd94fd676f238f056d663e5b715999d0dd.tar.lz
nixpkgs-d12e29cd94fd676f238f056d663e5b715999d0dd.tar.xz
nixpkgs-d12e29cd94fd676f238f056d663e5b715999d0dd.tar.zst
nixpkgs-d12e29cd94fd676f238f056d663e5b715999d0dd.zip
Merge pull request #171246 from K900/systemd-stage-1-include-firmware
nixos/systemd-in-stage1: include firmware in initrd
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/systemd/initrd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix
index fbccd0c4c89..cdec7f53291 100644
--- a/nixos/modules/system/boot/systemd/initrd.nix
+++ b/nixos/modules/system/boot/systemd/initrd.nix
@@ -342,6 +342,7 @@ in {
         "/etc/fstab".source = fstab;
 
         "/lib/modules".source = "${modulesClosure}/lib/modules";
+        "/lib/firmware".source = "${modulesClosure}/lib/firmware";
 
         "/etc/modules-load.d/nixos.conf".text = concatStringsSep "\n" config.boot.initrd.kernelModules;