17 Sep 2024 |
titaniumtown | 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 | 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 | 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 | You could just use git-crypt or something for those | 04:53:37 |
K900 | Since you're doing impure anyway | 04:53:41 |