From cd0b21cfb3c202aa701c69c3fcb3ba81b1dffd7b Mon Sep 17 00:00:00 2001 From: cswimr Date: Fri, 17 Jan 2025 19:37:50 -0600 Subject: [PATCH] fix the `ktailctl` systemd user service failing to start on plasma startup --- nixos/gui-pkgs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/gui-pkgs.nix b/nixos/gui-pkgs.nix index 00e315d..5eafd7b 100644 --- a/nixos/gui-pkgs.nix +++ b/nixos/gui-pkgs.nix @@ -87,8 +87,8 @@ in systemd.user.services = { ktailctl = { enable = true; - after = [ "network.target" ]; - wantedBy = [ "default.target" ]; + after = [ "plasma-kcminit.service" ]; # Wait until Plasma session is initialized + wantedBy = [ "plasma-kcminit.service" ]; # Start the service along with Plasma session description = "A GUI to monitor and manage Tailscale on your Linux desktop, built using KDE Frameworks and Kirigami2."; serviceConfig = { Type = "simple";