Don't start unless graphical-session

This commit is contained in:
niten 2023-08-23 15:16:46 -07:00
parent 3787a37197
commit 4bef39c96b
1 changed files with 2 additions and 1 deletions

View File

@ -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"