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