nix-conf/system/display.nix

32 lines
813 B
Nix
Raw Permalink Normal View History

2024-12-22 23:46:42 -05:00
{
config,
lib,
pkgs,
...
}:
lib.mkIf config.u.has.graphical {
2024-10-18 23:42:11 -04:00
services.xserver = {
enable = true;
autorun = false;
displayManager.sx.enable = true;
2024-12-11 05:19:34 -05:00
windowManager.awesome = {
enable = true;
luaModules = [pkgs.luaPackages.vicious];
};
2024-10-18 23:42:11 -04:00
autoRepeatDelay = 200;
autoRepeatInterval = 30;
};
2025-03-16 20:02:48 -04:00
services.desktopManager.plasma6.enable = true;
programs.partition-manager.enable = true;
2025-08-13 11:26:48 -04:00
environment.systemPackages = let
application-menu = pkgs.runCommandLocal "xdg-application-menu" {} ''
mkdir -p $out/etc/xdg/menus/
ln -s ${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu $out/etc/xdg/menus/applications.menu
'';
in [application-menu];
2024-10-18 23:42:11 -04:00
services.libinput = {
enable = true;
mouse.accelProfile = "flat";
};
}