1
0
forked from extern/nix-config
donovanglover-nix-config/modules/dunst/default.nix
Donovan Glover 3119b789f8
nix: Format with alejandra
Alejandra is written in Rust, has more tests than nixfmt, and handles
non-trivial code examples in Nix better.
2023-06-05 20:50:10 -04:00

31 lines
693 B
Nix

{pkgs, ...}: {
environment.systemPackages = [pkgs.libnotify];
home-manager.sharedModules = [
{
services.dunst = {
enable = true;
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;
};
};
};
}
];
}