nixos/hosts/common/optional/dwm.nix

26 lines
600 B
Nix

{ pkgs, ... }:
{
services = {
libinput.enable = true;
xserver = {
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 = "011c32e72e45b124ad6ab5c8185945cd2e637270";
sha256 = "sha256-rFiGTynYPEDav7ydokkRAHpT2zPFtz+Hn9lZbufEOEg=";
};
};
};
};
};
}