forked from mirrors/nixpkgs
nixos/amdgpu-pro: Add support for systemd stage 1
This commit is contained in:
parent
bd4dffcdb7
commit
0a60a12fae
|
@ -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 ] ++
|
||||
|
|
Loading…
Reference in a new issue