2024-07-02 06:42:45 +00:00
|
|
|
{ lib, pkgs, config, ... }:
|
2024-07-02 01:05:07 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
2024-07-02 06:47:44 +00:00
|
|
|
settings = lib.mkMerge [
|
|
|
|
(import ./util/rose-pine-dunst.nix { theme = "default"; })
|
|
|
|
{
|
|
|
|
global = { offset = lib.mkForce "5x25"; };
|
|
|
|
}
|
|
|
|
];
|
2024-07-02 01:05:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# xdg.configFile."dunst/dunstrc.d/50-theme.conf".source = inputs.dunst-theme.outPath + "/rose-pine.conf";
|
|
|
|
};
|
|
|
|
}
|