nixos/hosts/common/optional/dwm.nix

26 lines
668 B
Nix
Raw Normal View History

2024-06-13 14:36:34 +01:00
{ pkgs, ... }:
{
services = {
libinput.enable = true;
xserver = {
2024-07-20 17:38:49 +01:00
autoRepeatDelay = 300;
autoRepeatInterval = 15;
2024-06-13 14:36:34 +01:00
enable = true;
xkb.layout = "gb";
displayManager.startx.enable = true;
autorun = false;
windowManager.dwm = {
enable = true;
package = pkgs.dwm.overrideAttrs {
# src = /home/sam/.local/share/src/dwm;
2024-10-12 16:26:10 +01:00
src = pkgs.fetchgit {
url = "https://git.bitlab21.com/sam/dwm";
rev = "d795f9e155b6252245e6840efb4a27f57f379257";
sha256 = "sha256-UwjBnvr9oKXrhCELQMpICY2IyRsx9qHe/f0v5Fz6RoA=";
2024-10-12 16:26:10 +01:00
};
2024-06-13 14:36:34 +01:00
};
};
};
};
}