Remove useless gfx
stuff
This commit is contained in:
parent
382719d458
commit
feb79391be
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user