From 30a16e3a87d509735731706379dce9c0223fe5b9 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 12 Apr 2019 17:56:14 +0200 Subject: [PATCH] polybar: change restart trigger to contain a string The systemd unit type is a bit more strict now and needs an explicit string in this position. --- modules/services/polybar.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/services/polybar.nix b/modules/services/polybar.nix index 1951f6850..8bc4539d7 100644 --- a/modules/services/polybar.nix +++ b/modules/services/polybar.nix @@ -118,7 +118,9 @@ in Description = "Polybar status bar"; After = [ "graphical-session-pre.target" ]; PartOf = [ "graphical-session.target" ]; - X-Restart-Triggers = [ config.xdg.configFile."polybar/config".source ]; + X-Restart-Triggers = [ + "${config.xdg.configFile."polybar/config".source}" + ]; }; Service = {