26 lines
512 B
Nix
26 lines
512 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];
|
|
};
|
|
autoRepeatDelay = 200;
|
|
autoRepeatInterval = 30;
|
|
};
|
|
services.desktopManager.plasma6.enable = true;
|
|
programs.partition-manager.enable = true;
|
|
services.libinput = {
|
|
enable = true;
|
|
mouse.accelProfile = "flat";
|
|
};
|
|
}
|