1 { config, lib, pkgs, ... }:
7 cfg = config.services.xserver.windowManager.dwm;
16 services.xserver.windowManager.dwm = {
17 enable = mkEnableOption (lib.mdDoc "dwm");
21 defaultText = literalExpression "pkgs.dwm";
22 example = literalExpression ''
23 pkgs.dwm.overrideAttrs (oldAttrs: rec {
26 url = "https://dwm.suckless.org/patches/steam/dwm-steam-6.2.diff";
27 sha256 = "1ld1z3fh6p5f8gr62zknx3axsinraayzxw3rz1qwg73mx2zk5y1f";
32 description = lib.mdDoc ''
42 config = mkIf cfg.enable {
44 services.xserver.windowManager.session = singleton
53 environment.systemPackages = [ cfg.package ];