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,11 +1,10 @@
{ ... }:
{
imports = [
./dwm.nix
./interception-tools.nix
./sound.nix
./xserver.nix
./udev.nix
./xserver.nix
];
services = {

View file

@ -0,0 +1,27 @@
{ pkgs, ... }:
{
services = {
dwm-status = {
enable = true;
order = [
"audio"
"backlight"
"battery"
"cpu_load"
"network"
"time"
];
};
xserver.windowManager.dwm.enable = true;
};
environment.systemPackages = with pkgs; [
dmenu
dmenu-bluetooth
networkmanager_dmenu
st
];
}