mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
dunst: use dbus service file from configured package
This commit is contained in:
@@ -139,7 +139,7 @@ in
|
||||
home.packages = [ cfg.package ];
|
||||
|
||||
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 != { }) {
|
||||
text = toDunstIni cfg.settings;
|
||||
|
||||
Reference in New Issue
Block a user