nixpkgs.overlays = [
    (self: super: {
      dwm = super.dwm.overrideAttrs (oa: {
        patches = oa.patches ++ [
          (builtins.fetchurl https://dwm.suckless.org/patches/hide_vacant_tags/dwm-hide_vacant_tags-6.2.diff)
        ];
        conf = builtins.readFile /etc/nixos/dwm/config.def.h;
      });
    })
  ];

Add a code snippet to your website: www.paste.org