| 23 Jan 2024 |
tornax | I already am, but I thought that I could avoid entering my pin and don't need to touch it if I can agenix can simply read the ssh-keys from my ssh-directory | 23:56:55 |
| 24 Jan 2024 |
| steveej left the room. | 11:50:21 |
| 25 Jan 2024 |
| bddvlpr left the room. | 15:44:22 |
| 27 Jan 2024 |
| Sam Lehman removed their profile picture. | 16:56:13 |
| Sam Lehman removed their display name Sam Lehman. | 17:00:11 |
| Sam Lehman left the room. | 17:05:59 |
tornax | hello guys! I'm using home-manager as a NixOS module, may I ask if you have an idea how I access config.age inside a home-manager module? | 18:56:17 |
tornax | * hello guys! I'm using home-manager as a NixOS module, may I ask if you have an idea how I can access config.age inside a home-manager module? | 18:56:25 |
tornax | or alternatively: How can I get the value of a secret? I tried builtins.readFile config.age.secrets.<name>.path path then I have to do nixos-rebuild with the --impure arg | 19:07:03 |
tornax | * and: How can I get the value of a secret? I tried builtins.readFile config.age.secrets.<name>.path path then I have to do nixos-rebuild with the --impure arg | 19:07:09 |
tornax |  Download image.png | 19:08:23 |
tornax | oh.... | 19:08:24 |
tornax | oh man... but I need the secret to be set as a environment variable :( | 19:10:10 |
K900 ⚡️ | An environment variable for what? | 19:43:58 |
tornax | In reply to @k900:0upti.me An environment variable for what? for an application | 23:01:39 |
tornax | it includes an app password | 23:01:48 |
K900 ⚡️ | Yeah but like, running as a systemd service? Interactively? | 23:02:24 |
tornax | In reply to @k900:0upti.me Yeah but like, running as a systemd service? Interactively? interactively | 23:03:24 |
tornax | I want to use the deepl cli https://github.com/DeepLcom/deepl-python | 23:03:43 |
K900 ⚡️ | Then just add export FOO_KEY=$(cat /run/agenix/foo) to your shell init | 23:07:44 |
tornax | huh | 23:11:04 |
tornax | In reply to @k900:0upti.me Then just add export FOO_KEY=$(cat /run/agenix/foo) to your shell init in my home-manager-config? | 23:11:33 |
K900 ⚡️ | That way you don't need it at eval time | 23:11:27 |
K900 ⚡️ | You can just have the shell load it at runtime | 23:11:39 |
K900 ⚡️ | In reply to @tornax:matrix.org in my home-manager-config? In your whatever you're using to set up your shell config | 23:11:50 |
tornax | In reply to @k900:0upti.me You can just have the shell load it at runtime oh damn | 23:12:57 |
tornax | that would be awesome | 23:13:00 |
tornax | thank you! | 23:13:03 |
tornax | eh | 23:35:05 |
tornax | I can't access /run/agenix | 23:35:14 |