!XLCFfvFhUkYwOMLbVx:nixos.org

agenix

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

Load older messages


SenderMessageTime
7 Sep 2024
@k900:0upti.meK900That usually means you didn't import the module13:36:41
@madonius:entropia.de/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:entropia.de/madonius[er|he]I have agenix in my flakes.nix13:37:00
@madonius:entropia.de/madonius[er|he]both in inputs and outputs it's defined13:37:50
@madonius:entropia.de/madonius[er|he] do I have to use agenix 13:38:02
@k900:0upti.meK900That does not automatically include the module in your NixOS configs13:38:05
@madonius:entropia.de/madonius[er|he]ah ok13:38:14
@k900:0upti.meK900 You need to add agenix.nixosModules.default to your modules list in nixosSystem 13:38:20
@k900:0upti.meK900Or do something similar13:38:23
@madonius:entropia.de/madonius[er|he]that I have also done13:38:35
@k900:0upti.meK900Then it should work13:38:46
@k900:0upti.meK900Are you maybe mixing NixOS and home-manager contexts?13:38:53
@madonius:entropia.de/madonius[er|he]no... I found it... there was a typo and somehow the missing age blew up first13:44:39
@madonius:entropia.de/madonius[er|he]🤷13:44:42
@madonius:entropia.de/madonius[er|he]Now for some reason it claims that it can't find the file in the store(?)13:58:50
@k900:0upti.meK900 You probably didn't git add the file 13:59:35
@madonius:entropia.de/madonius[er|he]oh13:59:42
@madonius:entropia.de/madonius[er|he]yeah I did not13:59:50
@madonius:entropia.de/madonius[er|he]tbf in the Documentation (repo) there's nothing hinting at it ^^'14:00:14
@k900:0upti.meK900That's not really an agenix thing14:00:31
@k900:0upti.meK900It's a flakes thing14:00:37
@madonius:entropia.de/madonius[er|he]understood, first time I stumble over it14:00:50
9 Sep 2024
@beat_link:matrix.org@beat_link:matrix.org left the room.18:44:02
11 Sep 2024
@pascal.dietrich:mintux.de@pascal.dietrich:mintux.de left the room.20:21:00
12 Sep 2024
@goodlander:matrix.orggoodlander joined the room.02:40:18
@goodlander:matrix.orggoodlanderHi 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:0upti.meK900Yes04:05:44
@goodlander:matrix.orggoodlanderHow is this done?04:15:28
@k900:0upti.meK900Oh yeah I guess it's kinda tricky with the CLI04:16:03
@k900:0upti.meK900You can encrypt it yourself with raw age04:16:09

Show newer messages


Back to Room ListRoom Version: 6