2024-05-31 05:58:55 +00:00
|
|
|
{ lib, config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.snowhawk.dwm;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.snowhawk.dwm = {
|
|
|
|
enable = lib.mkEnableOption "dwm";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
services.xserver.windowManager.dwm = {
|
|
|
|
enable = true;
|
2024-05-31 08:50:59 +00:00
|
|
|
# package = pkgs.dwm.overrideAttrs (oldAttrs: {
|
|
|
|
# patches = [
|
|
|
|
# ../home/dwm/config.def.h-6.4.diff
|
|
|
|
# ];
|
|
|
|
# });
|
2024-05-31 05:58:55 +00:00
|
|
|
};
|
2024-05-31 08:50:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
dmenu
|
|
|
|
];
|
2024-05-31 05:58:55 +00:00
|
|
|
};
|
|
|
|
}
|