Use icon theme also for dunst

Remove custom config and use module options.
Re use already configured theme.
This commit is contained in:
Daniel Siepmann 2022-05-22 20:29:00 +02:00
parent ae799df415
commit f106eb2b10
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 12 additions and 2 deletions

View file

@ -67,7 +67,9 @@
};
services = {
dunst = import ./home/services/dunst.nix;
dunst = import ./home/services/dunst.nix {
inherit config;
};
mailhog.enable = true;
languagetool.enable = true;
nextcloud-client.enable = true;

View file

@ -1,5 +1,14 @@
{ config }:
{
enable = true;
iconTheme = {
package = config.gtk.iconTheme.package;
name = "${config.gtk.iconTheme.name}";
size = "32";
};
settings = {
global = {
monitor = 0;
@ -50,7 +59,6 @@
icon_position = "left";
min_icon_size = 0;
max_icon_size = 32;
icon_path = "/usr/share/icons/gnome/32x32/emblems/:/usr/share/icons/gnome/32x32/status/:/usr/share/icons/gnome/32x32/actions/:/usr/share/icons/gnome/32x32/emotes/:/usr/share/icons/gnome/32x32/apps/:/usr/share/icons/gnome/32x32/devices/";
sticky_history = "yes";
history_length = 20;