git-sync: enable tray indicator via GIT_SYNC_TRAY env var

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-09 01:33:31 -08:00
committed by Kat Huang
parent e67f760b68
commit 6f57129de9

View File

@@ -1,4 +1,9 @@
{ pkgs, ... }: { { pkgs, lib, ... }:
let
gitSyncTrayEnv = {
Service.Environment = [ "GIT_SYNC_TRAY=1" ];
};
in {
home-manager.users.imalison = ({ config, ... }: { home-manager.users.imalison = ({ config, ... }: {
services.git-sync = { services.git-sync = {
enable = true; enable = true;
@@ -24,6 +29,10 @@
}; };
}; };
}; };
systemd.user.services = lib.mapAttrs'
(name: _: lib.nameValuePair "git-sync-${name}" gitSyncTrayEnv)
config.services.git-sync.repositories;
}); });
home-manager.users.kat = ({ config, ... }: { home-manager.users.kat = ({ config, ... }: {