nix-config/home/dunst.nix
Donovan Glover 2db228e009
dunst: Don't use systemd service
Necessary while swaync is being used for notifications in Hyprland.
2024-09-01 18:37:20 -04:00

34 lines
657 B
Nix

{ lib, pkgs, ... }:
{
services.dunst = {
enable = true;
iconTheme = {
package = pkgs.papirus-icon-theme;
name = "Papirus";
};
settings = {
global = {
geometry = "1870x5-25+45";
width = 350;
separator_height = 5;
padding = 24;
horizontal_padding = 24;
frame_width = 3;
idle_threshold = 120;
alignment = "center";
word_wrap = "yes";
transparency = 5;
format = "<b>%s</b>: %b";
markup = "full";
min_icon_size = 32;
max_icon_size = 128;
};
};
};
systemd.user.services.dunst = lib.mkForce { };
}