Originally created by @Tragyn on GitHub (Nov 20, 2024).
Hi,
I was trying to follow your secrets.nix setup because it makes more sense to me than others I've tried. I have it working on one host (crate-laptop) but trying to set it up on another host (crate-desktop) gives the following error:
decrypting '/nix/store/0302mwrnmkjssbd091bkaxkf68zmkkqc-source/secrets/xxx.age' to '/run/agenix.d/2/xxx'...
age: error: no identity matched any of the recipients
age: report unexpected or unhelpful errors at https://filippo.io/age/report
chmod: cannot access '/run/agenix.d/2/xxx.tmp': No such file or directory
mv: cannot stat '/run/agenix.d/2/xxx.tmp': No such file or directory
I'm assuming I've made an error somewhere, but I don't understand SSH to really see where I've gone wrong.
EDIT: USER ERROR. Had to manually update my flake; I assumed the rebuild would pull the nix-secrets from my repo, but I guess not.
Originally created by @Tragyn on GitHub (Nov 20, 2024).
Hi,
I was trying to follow your secrets.nix setup because it makes more sense to me than others I've tried. I have it working on one host (crate-laptop) but trying to set it up on another host (crate-desktop) gives the following error:
```
decrypting '/nix/store/0302mwrnmkjssbd091bkaxkf68zmkkqc-source/secrets/xxx.age' to '/run/agenix.d/2/xxx'...
age: error: no identity matched any of the recipients
age: report unexpected or unhelpful errors at https://filippo.io/age/report
chmod: cannot access '/run/agenix.d/2/xxx.tmp': No such file or directory
mv: cannot stat '/run/agenix.d/2/xxx.tmp': No such file or directory
```
I'm assuming I've made an error somewhere, but I don't understand SSH to really see where I've gone wrong.
EDIT: USER ERROR. Had to manually update my flake; I assumed the rebuild would pull the nix-secrets from my repo, but I guess not.
Yeah, your secrets’ git hash is recorded in your flake.lock. You need to run nix flake update manually to update your secrets to the latest version.
@ryan4yin commented on GitHub (Nov 21, 2024):
Yeah, your secrets’ git hash is recorded in your flake.lock. You need to run `nix flake update` manually to update your secrets to the latest version.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Tragyn on GitHub (Nov 20, 2024).
Hi,
I was trying to follow your secrets.nix setup because it makes more sense to me than others I've tried. I have it working on one host (crate-laptop) but trying to set it up on another host (crate-desktop) gives the following error:
I'm assuming I've made an error somewhere, but I don't understand SSH to really see where I've gone wrong.
EDIT: USER ERROR. Had to manually update my flake; I assumed the rebuild would pull the nix-secrets from my repo, but I guess not.
@ryan4yin commented on GitHub (Nov 21, 2024):
Yeah, your secrets’ git hash is recorded in your flake.lock. You need to run
nix flake updatemanually to update your secrets to the latest version.