Skip to content

Commit 5720cbe

Browse files
committed
fix(darwin): order launchctl bootstrap after home-manager setupLaunchAgents
1 parent 2d0cf89 commit 5720cbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/home-manager/sops.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ in
412412
let
413413
domain-target = "gui/$(id -u ${config.home.username})";
414414
in
415-
''
415+
lib.hm.dag.entryAfter [ "setupLaunchAgents" ] ''
416416
/bin/launchctl bootout ${domain-target}/org.nix-community.home.sops-nix && true
417417
/bin/launchctl bootstrap ${domain-target} ${config.home.homeDirectory}/Library/LaunchAgents/org.nix-community.home.sops-nix.plist
418418
'';

0 commit comments

Comments
 (0)