nixos/hosts/common/optional/dwm.nix

27 lines
659 B
Nix
Raw Normal View History

2024-06-13 14:36:34 +01:00
{ pkgs, ... }:
{
services = {
libinput.enable = true;
xserver = {
2024-06-14 18:04:48 +01:00
autoRepeatDelay = 250;
autoRepeatInterval = 30;
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 = pkgs.fetchFromGitea {
domain = "git.bitlab21.com";
owner = "sam";
repo = "dwm";
2024-06-15 23:48:13 +01:00
rev = "b5ad77872823f4b45381babcb8b5afac2c52a025";
sha256 = "sha256-HF7Mm+MCFYivSGjkac3rol9K1Fu1n33LROoB+eADC1o=";
2024-06-13 14:36:34 +01:00
};
};
};
};
};
}