nixos/home/modules/dunst.nix

28 lines
631 B
Nix

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