From 83a9251835ea435f64d0fcf1bf857149d23e7f29 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Thu, 15 Apr 2021 22:30:20 -0700 Subject: [PATCH] load gfx driver on boot --- modules/ezpc.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ezpc.nix b/modules/ezpc.nix index 76e4770..b68b48d 100644 --- a/modules/ezpc.nix +++ b/modules/ezpc.nix @@ -46,6 +46,7 @@ let # automatic gfx drivers videoDrivers = mkIf (cfg.gfx != null) [ cfg.gfx ]; }; + boot.initrd.kernelModules = mkIf (cfg.gfx != null) [ cfg.gfx ]; security.pam.services = { swaylock.text = '' auth include login