18 lines
439 B
Nix
18 lines
439 B
Nix
{ lib, config, pkgs, ... }: {
|
|
config = lib.mkIf (config.syscfg.make.gui) {
|
|
programs.xwayland.enable = true;
|
|
services.xserver = {
|
|
enable = true;
|
|
videoDrivers = [ "amd" ];
|
|
xkb = {
|
|
layout = "us";
|
|
variant = "intl";
|
|
};
|
|
excludePackages = [ pkgs.xterm ];
|
|
exportConfiguration = true;
|
|
# libinput.touchpad.tapping = false;
|
|
desktopManager.xterm.enable = false;
|
|
};
|
|
};
|
|
}
|