1 { config, lib, pkgs, ... }:
7 cfg = config.services.xserver.windowManager.dwm;
16 services.xserver.windowManager.dwm = {
17 enable = mkEnableOption "dwm";
18 package = mkPackageOption pkgs "dwm" {
20 pkgs.dwm.overrideAttrs (oldAttrs: rec {
23 url = "https://dwm.suckless.org/patches/steam/dwm-steam-6.2.diff";
24 sha256 = "sha256-f3lffBjz7+0Khyn9c9orzReoLTqBb/9gVGshYARGdVc=";
36 config = mkIf cfg.enable {
38 services.xserver.windowManager.session = singleton
42 export _JAVA_AWT_WM_NONREPARENTING=1
48 environment.systemPackages = [ cfg.package ];