nixos/hosts/common/optional/dwm.nix

26 lines
668 B
Nix

{ pkgs, ... }:
{
services = {
libinput.enable = true;
xserver = {
autoRepeatDelay = 300;
autoRepeatInterval = 15;
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;
src = pkgs.fetchgit {
url = "https://git.bitlab21.com/sam/dwm";
rev = "3e0601b29d879e589703239e064f0baaabb3474b";
sha256 = "sha256-7Hq0vo6YnXKhEUdKjvaAeKodq2l8wwJRzCYJfdHDNMQ=";
};
};
};
};
};
}