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