1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-09 03:56:04 +01:00

dunst: use dbus service file from configured package

This commit is contained in:
Robert Helgesson 2025-09-04 09:52:50 +02:00
parent 5cd2bf5153
commit 174ba89ccb
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -139,7 +139,7 @@ in
home.packages = [ cfg.package ]; home.packages = [ cfg.package ];
xdg.dataFile."dbus-1/services/org.knopwob.dunst.service".source = xdg.dataFile."dbus-1/services/org.knopwob.dunst.service".source =
"${pkgs.dunst}/share/dbus-1/services/org.knopwob.dunst.service"; "${cfg.package}/share/dbus-1/services/org.knopwob.dunst.service";
xdg.configFile."dunst/dunstrc" = lib.mkIf (cfg.settings != { }) { xdg.configFile."dunst/dunstrc" = lib.mkIf (cfg.settings != { }) {
text = toDunstIni cfg.settings; text = toDunstIni cfg.settings;