nixos/home/modules/dunst.nix

24 lines
547 B
Nix
Raw Normal View History

2024-07-02 01:05:07 +00:00
{ lib, pkgs, config, inputs, ... }:
let
cfg = config.snowhawk.dunst;
in
{
options.snowhawk.dunst = {
enable = lib.mkEnableOption "lazygit";
};
config = lib.mkIf cfg.enable {
services.dunst = {
enable = true;
iconTheme = {
name = "rose-pine";
package = pkgs.rose-pine-icon-theme;
};
settings = import ./util/rose-pine-dunst.nix { inherit lib; theme = "default"; };
};
# xdg.configFile."dunst/dunstrc.d/50-theme.conf".source = inputs.dunst-theme.outPath + "/rose-pine.conf";
};
}