When setting up sops-nix for the first time on nixos-darwin. I get the following log output:
Starting Home Manager activation
Activating checkAppManagementPermission
Activating checkFilesChanged
Activating checkLinkTargets
Activating writeBoundary
Activating installPackages
replacing old 'home-manager-path'
installing 'home-manager-path'
Activating copyApps
setting up ~/Applications/Home Manager Apps...
Activating createGpgHomedir
Activating linkGeneration
Cleaning up orphan links from /Users/jackschumann
Creating home file links in /Users/jackschumann
Activating generateAgeKey
Activating sops-nix
Boot-out failed: 3: No such process
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Im able to work around this by setting the activation phase to come later
home.activation.sops-nix = lib.mkForce (lib.hm.dag.entryAfter [ "linkGeneration" ] "");
Once this is worked around
a ~/Library/LaunchAgents/org.nix-community.home.sops-nix.plist exists and the work-around is not needed, making this a little hard to repro.
To repro rm that file and run a home-manager switch.
In case its relevant:
❯ nix --version
nix (Nix) 2.31.2+1
When setting up sops-nix for the first time on nixos-darwin. I get the following log output:
Im able to work around this by setting the activation phase to come later
Once this is worked around
a
~/Library/LaunchAgents/org.nix-community.home.sops-nix.plistexists and the work-around is not needed, making this a little hard to repro.To repro rm that file and run a home-manager switch.
In case its relevant: