only apply amdgpu to boot.initrd.kernelModules
This commit is contained in:
parent
2f3f2ce8ce
commit
f8f4045498
@ -46,7 +46,7 @@ let
|
||||
# automatic gfx drivers
|
||||
videoDrivers = mkIf (cfg.gfx != null) [ cfg.gfx ];
|
||||
};
|
||||
boot.initrd.kernelModules = mkIf (cfg.gfx != null) [ cfg.gfx ];
|
||||
boot.initrd.kernelModules = mkIf (cfg.gfx != null && cfg.gfx == "amdgpu") [ cfg.gfx ];
|
||||
security.pam.services = {
|
||||
swaylock.text = ''
|
||||
auth include login
|
||||
|
Loading…
Reference in New Issue
Block a user