nix-dotfiles/modules/desktop/dunst.nix
Reid "reidlab 565aac949c uhhh
uhhh the 2nd rendition
2024-04-02 18:40:14 -07:00

17 lines
389 B
Nix

{ lib, config, ... }:
with lib;
let
cfg = config.modules.desktop.dunst;
in {
options.modules.desktop.dunst = {
enable = mkEnableOption "Enable dunst, a lightweight replacement for the notification daemons provided by most desktop environments";
};
config = mkIf cfg.enable {
hm.services.dunst = {
enable = true;
configFile = ../../config/dunst.conf;
};
};
}