mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-02-22 21:05:44 +08:00
Merge b6f5735434 into e85540ffe9
This commit is contained in:
commit
41e7faa104
1 changed files with 4 additions and 1 deletions
|
|
@ -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 =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue