load gfx driver on boot

This commit is contained in:
notgne2 2021-04-15 22:30:20 -07:00
parent 94d81b613d
commit 83a9251835
No known key found for this signature in database
GPG Key ID: BB661E172B42A7F8

View File

@ -46,6 +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 ];
security.pam.services = { security.pam.services = {
swaylock.text = '' swaylock.text = ''
auth include login auth include login