nix-conf/system/display.nix
2025-03-16 19:02:48 -05:00

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";
};
}