nix-config/modules/home-manager/desktop/dwm/default.nix

29 lines
465 B
Nix
Raw Normal View History

2025-02-20 21:19:21 +00:00
{
config,
lib,
pkgs,
...
}:
with lib;
{
options.homeManagerModules.dwm.enable = mkEnableOption "Enable dwm";
2025-02-20 21:19:21 +00:00
config = mkIf config.homeManagerModules.dwm.enable {
home = {
file."${config.home.sessionVariables.XINITRC}".source = ./xinitrc;
2025-03-18 16:07:04 +00:00
sessionVariables = {
XINITRC = "${config.xdg.configHome}/X11/xinitrc";
};
packages = with pkgs; [
dunst
poweralertd
2025-03-17 23:05:33 +00:00
xwallpaper
];
};
2025-02-20 21:19:21 +00:00
};
}