!XLCFfvFhUkYwOMLbVx:nixos.org

agenix

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

Load older messages


SenderMessageTime
23 Jan 2024
@tornax:matrix.orgtornax 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
@steveej0:matrix.orgsteveej left the room.11:50:21
25 Jan 2024
@bddvlpr:matrix.orgbddvlpr left the room.15:44:22
27 Jan 2024
@lehmanator:gnulinux.clubSam Lehman removed their profile picture.16:56:13
@lehmanator:gnulinux.clubSam Lehman removed their display name Sam Lehman.17:00:11
@lehmanator:gnulinux.clubSam Lehman left the room.17:05:59
@tornax:matrix.orgtornax 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:matrix.orgtornax * 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:matrix.orgtornax 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:matrix.orgtornax * 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:matrix.orgtornaximage.png
Download image.png
19:08:23
@tornax:matrix.orgtornaxoh....19:08:24
@tornax:matrix.orgtornaxoh man... but I need the secret to be set as a environment variable :(19:10:10
@k900:0upti.meK900 ⚡️An environment variable for what? 19:43:58
@tornax:matrix.orgtornax
In reply to @k900:0upti.me
An environment variable for what?
for an application
23:01:39
@tornax:matrix.orgtornaxit includes an app password23:01:48
@k900:0upti.meK900 ⚡️Yeah but like, running as a systemd service? Interactively? 23:02:24
@tornax:matrix.orgtornax
In reply to @k900:0upti.me
Yeah but like, running as a systemd service? Interactively?
interactively
23:03:24
@tornax:matrix.orgtornax I want to use the deepl cli https://github.com/DeepLcom/deepl-python 23:03:43
@k900:0upti.meK900 ⚡️ Then just add export FOO_KEY=$(cat /run/agenix/foo) to your shell init 23:07:44
@tornax:matrix.orgtornaxhuh23:11:04
@tornax:matrix.orgtornax
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:0upti.meK900 ⚡️That way you don't need it at eval time 23:11:27
@k900:0upti.meK900 ⚡️You can just have the shell load it at runtime 23:11:39
@k900:0upti.meK900 ⚡️
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:matrix.orgtornax
In reply to @k900:0upti.me
You can just have the shell load it at runtime
oh damn
23:12:57
@tornax:matrix.orgtornaxthat would be awesome23:13:00
@tornax:matrix.orgtornaxthank you!23:13:03
@tornax:matrix.orgtornaxeh23:35:05
@tornax:matrix.orgtornax I can't access /run/agenix 23:35:14

Show newer messages


Back to Room ListRoom Version: 6