!XLCFfvFhUkYwOMLbVx:nixos.org

agenix

323 Members
age-encrypted secrets for NixOS https://github.com/ryantm/agenix/93 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
17 Sep 2024
@titaniumtown:envs.nettitaniumtown hihihi, i am switching a ton of my stuff over to agenix. quick question though. How can I properly use a nix file as a secret. For instance. I have a wifi-passwords.nix, with declarations for each network and such. And I import it and such. But the thing is that I have to build my system, restart agenix. make sure the secret is there. and then uncomment the part referencing the secret. 02:47:53
@titaniumtown:envs.nettitaniumtown hihihi, i am switching a ton of my stuff over to agenix. quick question though. How can I properly use a nix file as a secret. For instance. I have a wifi-passwords.nix, with declarations for each network and such. And I import it and such. But the thing is that I have to build my system, restart agenix. make sure the secret is there. and then uncomment the part referencing the secret.

Is there a better way of doing this?
02:48:00
@titaniumtown:envs.nettitaniumtown hihihi, i am switching a ton of my stuff over to agenix. quick question though. How can I properly use a nix file as a secret. For instance. I have a wifi-passwords.nix, with declarations for each network and such. And I import it and such. But the thing is that I have to build my system, restart agenix. make sure the secret is there. and then uncomment the part referencing the secret.

Is there a better way of doing this?

There are some options that just require an actual string. not a file. I'm doing the best I can :(
02:48:47
@k900:0upti.meK900You could just use git-crypt or something for those04:53:37
@k900:0upti.meK900Since you're doing impure anyway04:53:41

Show newer messages


Back to Room ListRoom Version: 6