This commit is contained in:
jackschu 2026-02-20 00:49:54 -05:00 committed by GitHub
commit 41e7faa104
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -411,10 +411,13 @@ in
darwin = darwin =
let let
domain-target = "gui/$(id -u ${config.home.username})"; domain-target = "gui/$(id -u ${config.home.username})";
plist = "${config.home.homeDirectory}/Library/LaunchAgents/org.nix-community.home.sops-nix.plist";
in in
'' ''
/bin/launchctl bootout ${domain-target}/org.nix-community.home.sops-nix && true /bin/launchctl bootout ${domain-target}/org.nix-community.home.sops-nix && true
/bin/launchctl bootstrap ${domain-target} ${config.home.homeDirectory}/Library/LaunchAgents/org.nix-community.home.sops-nix.plist if [[ -f ${plist} ]]; then
/bin/launchctl bootstrap ${domain-target} ${plist}
fi
''; '';
linux = linux =