sops-nix icon indicating copy to clipboard operation
sops-nix copied to clipboard

Home Manager Darwin- Activation failure - Domain does not support specified action

Open ToyVo opened this issue 7 months ago • 0 comments

At the end of darwin-rebuild:

Activating sops-nix Boot-out failed: 125: Domain does not support specified action Bootstrap failed: 125: Domain does not support specified action

https://github.com/Mic92/sops-nix/blob/a11224af8d824935f363928074b4717ca2e280db/modules/home-manager/sops.nix#L255-L274

The stdout is empty The stderr file has the following contents, but it is not from the current execution and I've resolved the location error, if I manually run the binary it works fine, just the launchd agent fails to run

2024/07/01 23:10:40 "/dev/disk4          \t                               \t\n"
2024/07/01 23:10:40 "/dev/disk4"
2024/07/01 23:10:40 hdiutil attach ret <nil>. out: /dev/disk4
2024/07/01 23:10:40 newfs_hfs ret <nil>. out: Initialized /dev/rdisk4 as a 64 MB case-sensitive HFS Plus volume
2024/07/01 23:10:40 mount ret <nil>. out: 
/nix/store/lvzbv74f7ay2wxzfg3pzhzhp7v227zzd-sops-install-secrets-0.0.1/bin/sops-install-secrets: failed to prepare new secrets directory: cannot access /Users/toyvo/.config/sops-nix/secrets: readlink /Users/toyvo/.config/sops-nix/secrets: invalid argument

I'm not really sure what is going on here, and my searching gave no real results

ToyVo avatar Jul 02 '24 18:07 ToyVo