7 Sep 2024 |
K900 | That usually means you didn't import the module | 13:36:41 |
/madonius[er|he] | * I am trying to add agenix to a server's configuration and keep getting
error: The option`age' does not exist. Definition values:\ | 13:36:48 |
/madonius[er|he] | I have agenix in my flakes.nix | 13:37:00 |
/madonius[er|he] | both in inputs and outputs it's defined | 13:37:50 |
/madonius[er|he] | do I have to use agenix | 13:38:02 |
K900 | That does not automatically include the module in your NixOS configs | 13:38:05 |
/madonius[er|he] | ah ok | 13:38:14 |
K900 | You need to add agenix.nixosModules.default to your modules list in nixosSystem | 13:38:20 |
K900 | Or do something similar | 13:38:23 |
/madonius[er|he] | that I have also done | 13:38:35 |
K900 | Then it should work | 13:38:46 |
K900 | Are you maybe mixing NixOS and home-manager contexts? | 13:38:53 |
/madonius[er|he] | no... I found it... there was a typo and somehow the missing age blew up first | 13:44:39 |
/madonius[er|he] | 🤷 | 13:44:42 |
/madonius[er|he] | Now for some reason it claims that it can't find the file in the store(?) | 13:58:50 |
K900 | You probably didn't git add the file | 13:59:35 |
/madonius[er|he] | oh | 13:59:42 |
/madonius[er|he] | yeah I did not | 13:59:50 |
/madonius[er|he] | tbf in the Documentation (repo) there's nothing hinting at it ^^' | 14:00:14 |
K900 | That's not really an agenix thing | 14:00:31 |
K900 | It's a flakes thing | 14:00:37 |
/madonius[er|he] | understood, first time I stumble over it | 14:00:50 |
9 Sep 2024 |
| @beat_link:matrix.org left the room. | 18:44:02 |
11 Sep 2024 |
| @pascal.dietrich:mintux.de left the room. | 20:21:00 |
12 Sep 2024 |
| goodlander joined the room. | 02:40:18 |
goodlander | Hi all! Question: can I use agenix to encrypt arbitrary data? Say I want to encrypt a wallpaper of a family photo that I want to include with my flake bu would rather not upload to Github in the clear. | 04:02:10 |
K900 | Yes | 04:05:44 |
goodlander | How is this done? | 04:15:28 |
K900 | Oh yeah I guess it's kinda tricky with the CLI | 04:16:03 |
K900 | You can encrypt it yourself with raw age | 04:16:09 |