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 = "d795f9e155b6252245e6840efb4a27f57f379257";
sha256 = "sha256-UwjBnvr9oKXrhCELQMpICY2IyRsx9qHe/f0v5Fz6RoA=";
};
};
};
};
};
}