From 4bef39c96bba3eb47d1a22481d9f6706e76fef18 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 23 Aug 2023 15:16:46 -0700 Subject: [PATCH] Don't start unless graphical-session --- module.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module.nix b/module.nix index 9bd80d6..2d29814 100644 --- a/module.nix +++ b/module.nix @@ -48,7 +48,8 @@ in { config = mkIf cfg.enable { systemd.user.services.tattler = { path = [ tattler ]; - wantedBy = [ "default.target" ]; + wantedBy = [ "graphical-session.target" ]; + after = [ "graphical-session.target" ]; serviceConfig = { ExecStart = pkgs.writeShellScript "tattler.sh" (concatStringsSep " " ([ "tattler"