add(nixos): xscreensaver for xmonad

This commit is contained in:
Léana 江 2023-12-26 18:06:36 +01:00 committed by Léana 江
parent f4beaf22cb
commit 98d0feb8f0
10 changed files with 118 additions and 34 deletions

View file

@ -1,18 +1,29 @@
{pkgs, ...}: {
{...}: {
services.xserver.enable = true;
services.xserver = {
enable = true;
autoRepeatDelay = 300;
autoRepeatInterval = 40;
};
services.xserver = {
displayManager.gdm.enable = true;
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
extraPackages = hp: with hp; [neat-interpolation];
};
};
programs.nm-applet.enable = true;
programs.gnome-terminal.enable = true;
services.xserver.libinput = {
mouse = {
naturalScrolling = true;
accelSpeed = "-0.5";
};
touchpad = {
naturalScrolling = true;
};
};
programs.light.enable = true;
}