24 lines
547 B
Nix
24 lines
547 B
Nix
{ 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";
|
|
};
|
|
}
|