nix-config/modules/dunst/default.nix

31 lines
693 B
Nix
Raw Normal View History

{pkgs, ...}: {
environment.systemPackages = [pkgs.libnotify];
2023-05-17 15:23:38 +02:00
home-manager.sharedModules = [
{
services.dunst = {
enable = true;
2023-05-17 15:23:38 +02:00
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 = 128;
max_icon_size = 128;
};
};
};
}
];
}