25 lines
461 B
Nix
25 lines
461 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
lib.mkIf config.u.has.graphical {
|
|
services.xserver = {
|
|
enable = true;
|
|
autorun = false;
|
|
displayManager.sx.enable = true;
|
|
windowManager.awesome = {
|
|
enable = true;
|
|
luaModules = [pkgs.luaPackages.vicious];
|
|
};
|
|
desktopManager.plasma5.enable = true;
|
|
autoRepeatDelay = 200;
|
|
autoRepeatInterval = 30;
|
|
};
|
|
services.libinput = {
|
|
enable = true;
|
|
mouse.accelProfile = "flat";
|
|
};
|
|
}
|