Hi, I set up my existing NixOS config on my laptop. Most worked flawlessly, however, sops-nix doesn’t seem to find my keys.txt.
May 22 20:23:38 orion stage-2-init: /nix/store/p8cixvkvprmqvw3ik0b70bxgmj5zzkd9-sops-install-secrets-0.0.1/bin/sops-install-secrets: cannot read keyfile '/home/lukas/.config/sops/age/keys.txt': open /home/lukas/.config/sops/age/keys.txt: no such file or directory
Secrets are not created on startup. Whenever I re-switch again, it works (until the next reboot).
The file exists with correct permissions:
> ls /home/lukas/.config/sops/age/keys.txt
.rwxrwxrwx 75 lukas 5 Dec 2024 /home/lukas/.config/sops/age/keys.txt