diff options
author | Janne Heß <janne@hess.ooo> | 2022-04-20 11:36:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 11:36:53 +0200 |
commit | 4f3a868e59722ab9af1624ea6d86cfa9c4e9f4fe (patch) | |
tree | 7fe4b7e31fb91622f2effc1cebd9857f38931eef /nixos | |
parent | 1f05fa3d34022b0b6cc10849fdf7965251d89347 (diff) | |
parent | 0a60a12fae59593332fa6883d2d4b1e51c48c2bd (diff) | |
download | nixlib-4f3a868e59722ab9af1624ea6d86cfa9c4e9f4fe.tar nixlib-4f3a868e59722ab9af1624ea6d86cfa9c4e9f4fe.tar.gz nixlib-4f3a868e59722ab9af1624ea6d86cfa9c4e9f4fe.tar.bz2 nixlib-4f3a868e59722ab9af1624ea6d86cfa9c4e9f4fe.tar.lz nixlib-4f3a868e59722ab9af1624ea6d86cfa9c4e9f4fe.tar.xz nixlib-4f3a868e59722ab9af1624ea6d86cfa9c4e9f4fe.tar.zst nixlib-4f3a868e59722ab9af1624ea6d86cfa9c4e9f4fe.zip |
Merge pull request #169049 from helsinki-systems/feat/systemd-stage-1-amdgpu-pro
nixos/amdgpu-pro: Add support for systemd stage 1
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/hardware/video/amdgpu-pro.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/amdgpu-pro.nix b/nixos/modules/hardware/video/amdgpu-pro.nix index d784befc9b88..299a30b0629b 100644 --- a/nixos/modules/hardware/video/amdgpu-pro.nix +++ b/nixos/modules/hardware/video/amdgpu-pro.nix @@ -51,9 +51,10 @@ in (isYes "KALLSYMS_ALL") ]; - boot.initrd.extraUdevRulesCommands = '' + boot.initrd.extraUdevRulesCommands = mkIf (!config.boot.initrd.systemd.enable) '' cp -v ${package}/etc/udev/rules.d/*.rules $out/ ''; + boot.initrd.services.udev.packages = [ package ]; environment.systemPackages = [ package.vulkan ] ++ |