3
0
Fork 0
forked from mirrors/nixpkgs

nixos/amdgpu-pro: Add support for systemd stage 1

This commit is contained in:
Janne Heß 2022-04-17 14:00:02 +01:00
parent bd4dffcdb7
commit 0a60a12fae
No known key found for this signature in database
GPG key ID: 69165158F05265DF

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