From feb79391be52950cf525f0df075f21dba3f72430 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Sat, 10 Jul 2021 12:20:18 -0700 Subject: [PATCH] Remove useless `gfx` stuff --- modules/ezpc.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/modules/ezpc.nix b/modules/ezpc.nix index 3d2f9f2..bb75ceb 100644 --- a/modules/ezpc.nix +++ b/modules/ezpc.nix @@ -59,14 +59,10 @@ let # Set some X11 props services.xserver = { - enable = lib.mkDefault (cfg.gfx == "nvidia"); + enable = lib.mkDefault false; layout = lib.mkDefault "us"; libinput.enable = true; - - # automatic gfx drivers - videoDrivers = 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 @@ -178,13 +174,6 @@ in description = "If this PC has a touchscreen"; }; - gfx = mkOption { - type = types.nullOr types.str; - default = null; - description = "Type of your PC's graphics card"; - example = "intel"; - }; - print = mkOption { type = types.bool; default = false;