mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-29 19:54:48 +01:00
e2e8971eb3
Changes made: - Preferred "inherits" where possible - Removed unnecessary comments - Added variables to avoid duplicate strings - Reduced usage of "with x;"
37 lines
685 B
Nix
37 lines
685 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
inherit (pkgs) libnotify papirus-icon-theme;
|
|
in
|
|
{
|
|
home.packages = [ libnotify ];
|
|
|
|
services.dunst = {
|
|
enable = true;
|
|
|
|
iconTheme = {
|
|
package = 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;
|
|
};
|
|
};
|
|
};
|
|
}
|