Files
nix-config/home-manager/dunst.nix
2024-06-03 23:06:56 +02:00

27 lines
663 B
Nix

{ lib, osConfig, pkgs, ... }:
let enable = osConfig.custom.graphical.i3.enable || osConfig.custom.graphical.hyprland.enable;
in {
config = lib.mkIf enable {
services.dunst = {
enable = true;
settings = {
global = {
width = "(0,1000)";
height = "1000";
offset = "0x0";
origin = "bottom-center";
transparency = -1;
frame_color = "#1a1c1b";
font = lib.mkDefault "Monospace 8";
};
urgency_normal = {
background = lib.mkDefault "#1a1c1b";
foreground = lib.mkDefault "#eceff1";
timeout = 10;
};
};
};
};
}