Add dwm window manager with some initial patches

- Set Mod4 as the mod key and Alacritty as the termcmd.
- Add a patch from suckless.org to hide any vacant tags.
  - https://dwm.suckless.org/patches/hide_vacant_tags
This commit is contained in:
Oliver Davies 2025-01-30 17:38:03 +00:00
parent e66af807b3
commit 4461ad3ca4
8 changed files with 172 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{ inputs, ... }:
{ inputs, self, ... }:
{
additions =
@ -9,7 +9,15 @@
pkgs = final;
};
modifications = final: prev: { };
modifications = final: prev: {
dwm = prev.dwm.override {
patches = [
"${self}/patches/dwm/change-mod-key.patch"
"${self}/patches/dwm/change-termcmd.patch"
"${self}/patches/dwm/dwm-hide_vacant_tags-6.4.diff"
];
};
};
stable-packages = final: _prev: {
nixpkgs-2405 = import inputs.nixpkgs-2405 {