Merge pull request #169049 from helsinki-systems/feat/systemd-stage-1-amdgpu-pro

nixos/amdgpu-pro: Add support for systemd stage 1
This commit is contained in:
Janne Heß 2022-04-20 11:36:53 +02:00 committed by GitHub
commit 4f3a868e59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ] ++