nixos/hosts/common/optional/dwm.nix

27 lines
659 B
Nix

{ pkgs, ... }:
{
services = {
libinput.enable = true;
xserver = {
autoRepeatDelay = 250;
autoRepeatInterval = 30;
enable = true;
xkb.layout = "gb";
displayManager.startx.enable = true;
autorun = false;
windowManager.dwm = {
enable = true;
package = pkgs.dwm.overrideAttrs {
src = pkgs.fetchFromGitea {
domain = "git.bitlab21.com";
owner = "sam";
repo = "dwm";
rev = "e511497dbda385ca34ec756862fc70c1f60dd879";
sha256 = "sha256-oIUjfpcHnTRODCRsFJhtyh11pluQMY7BvLl8W+4KikQ=";
};
};
};
};
};
}