nixos/amdgpu-pro: Add support for systemd stage 1
This commit is contained in:
parent
bd4dffcdb7
commit
0a60a12fae
1 changed files with 2 additions and 1 deletions
|
@ -51,9 +51,10 @@ in
|
||||||
(isYes "KALLSYMS_ALL")
|
(isYes "KALLSYMS_ALL")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.extraUdevRulesCommands = ''
|
boot.initrd.extraUdevRulesCommands = mkIf (!config.boot.initrd.systemd.enable) ''
|
||||||
cp -v ${package}/etc/udev/rules.d/*.rules $out/
|
cp -v ${package}/etc/udev/rules.d/*.rules $out/
|
||||||
'';
|
'';
|
||||||
|
boot.initrd.services.udev.packages = [ package ];
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[ package.vulkan ] ++
|
[ package.vulkan ] ++
|
||||||
|
|
Loading…
Reference in a new issue