7 Jun 2024 |
ryantm | Depends on your threat model | 20:27:16 |
conr | high threat, i'm really important. | 20:34:47 |
conr | lol | 20:34:49 |
conr | this part of the tutorial for installing with flakes,
agenix -e secret1.age , is this on the nix machine or remote machine with your ed25519 public key? | 20:36:37 |
hexa | this is to edit a secret locally | 20:54:23 |
hexa | * this is to edit a secret locally, before deployment | 20:54:32 |
conr | so like on my mac install agenix with brew and do it? | 20:57:55 |
conr | then deploy to the nixos server? | 20:58:09 |
conr | hexa: ^ | 20:58:40 |
hexa | yeah | 20:59:20 |
conr | is brew formula just age ? | 21:00:01 |
hexa | agenix is a wrapping age | 21:00:19 |
hexa | * agenix is wrapping age | 21:00:47 |
hexa | and you'll want agenix | 21:00:51 |
conr | in what dir? | 21:01:12 |
conr | the /etc/secrets are on the nixos system right? no my mac? | 21:01:53 |
hexa | agenix will ship the encrypted secrets into your targets nix store | 21:03:35 |
hexa | * agenix will ship the encrypted secrets into your target's nix store | 21:03:39 |
conr | In reply to @hexa:lossy.network agenix will ship the encrypted secrets into your target's nix store but this command agenix -e secret1.age | 21:05:08 |
conr | does nothing. | 21:05:12 |
conr | agenix: command not found | 21:05:30 |
hexa | well, you don't have agenix installed | 21:05:47 |
conr | do i need to add it to my configuration.nix ? | 21:06:10 |
hexa | possibly | 21:06:24 |
hexa | https://github.com/ryantm/agenix?tab=readme-ov-file#installation | 21:06:36 |
hexa | there is a few ways to get it installed | 21:06:40 |
conr | oh crap, the md document didn't expand flakes section, so sorry. | 21:07:28 |
conr | should the creation of /etc/secrets/secrets.nix should be done with root correct? | 21:16:18 |
conr | Inputs:
├───agenix: github:ryantm/agenix/c2fc0762bbe8feb06a2e59a364fa81b3a57671c9
│ ├───darwin: github:lnl7/nix-darwin/4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d
│ │ └───nixpkgs follows input 'agenix/nixpkgs'
│ ├───home-manager: github:nix-community/home-manager/3bfaacf46133c037bb356193bd2f1765d9dc82c1
│ │ └───nixpkgs follows input 'agenix/nixpkgs'
│ ├───nixpkgs: github:NixOS/nixpkgs/54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6
│ └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e
| 21:27:39 |
conr | i have it installed via flake but its still not recognizing the agenix command. | 21:28:03 |