nixos/hosts/common/optional/dwm.nix

26 lines
668 B
Nix
Raw Permalink 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 = "3e0601b29d879e589703239e064f0baaabb3474b";
sha256 = "sha256-7Hq0vo6YnXKhEUdKjvaAeKodq2l8wwJRzCYJfdHDNMQ=";
2024-10-12 16:26:10 +01:00
};
2024-06-13 14:36:34 +01:00
};
};
};
};
}