!XLCFfvFhUkYwOMLbVx:nixos.org

agenix

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

Load older messages


SenderMessageTime
6 Jul 2025
@jammie:matrix.org@jammie:matrix.org joined the room.02:28:45
7 Jul 2025
@darshan_commits:matrix.orggreeed.png joined the room.06:45:26
@darshan_commits:matrix.orggreeed.png

trying to setup agenix and

age: error: no identity matched any of the recipients
age: report unexpected or unhelpful errors at https://filippo.io/age/report

what is this error I am getting?

the first time i did
nix run github:ryantm/agenix -- -e secret1.age
it worked as expected and after i rebuilt my sytem,
i got the error in the logs

and same error when i am trying to edit the secret1.age file

06:47:07
@jeroen:simonetti.nljeroen left the room.11:18:42
9 Jul 2025
@jonhermansen:matrix.org@jonhermansen:matrix.org joined the room.01:15:31
10 Jul 2025
@tebriel:frodux.nettebriel i think it means that your private key in age.identityPaths didn't match any of the public keys it was encrypted with 02:21:55
12 Jul 2025
@plan9better:matrix.orgplan9better joined the room.11:06:02
13 Jul 2025
@timschumi:matrix.orgtimschumi joined the room.18:28:55
17 Jul 2025
@mon:tchncs.depneumatic joined the room.23:57:58
21 Jul 2025
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️ left the room.16:53:09
24 Jul 2025
@blocklisted:matrix.orgblocklisted joined the room.10:07:30
25 Jul 2025
@xxosinxx:matrix.orgxxosinxx joined the room.04:33:39
30 Jul 2025
@tebriel:frodux.nettebriel having an issue where agenix isn't writing any simlinks to /run/user/agenix/1000. I set a secret to symlink = false and it wrote the file, reverted to symlink = true and then it left the flat file and didn't write a symlink 13:57:46
@tebriel:frodux.nettebriel * having an issue where agenix isn't writing any simlinks to /run/user/1000/agenix. I set a secret to symlink = false and it wrote the file, reverted to symlink = true and then it left the flat file and didn't write a symlink 14:01:56
@tebriel:frodux.nettebriel I'm guessing it's because /run/user/1000 is deleted on reboot so the nix store thinks the symlink is already written? 14:02:16
@k900:0upti.meK900Are you using system-wide agenix to write to /run/user/1000?14:02:45
@k900:0upti.meK900Because that won't work for service ordering reasons14:02:54
@k900:0upti.meK900You need the HM module if you want to do this kind of per-user thing14:03:03
@tebriel:frodux.nettebriel no, inputs.agenix.homeManagerModules.default 14:03:10
@k900:0upti.meK900Then you want to check your HM activation logs14:03:34
@k900:0upti.meK900It'll probably tell you what's wrong14:03:39
@tebriel:frodux.nettebriel👀14:03:46
@tebriel:frodux.nettebrielI know this isn't a hm channel, but are there more activation logs besides the output of r a nixos-rebuild? I'm not seeing any errors but also very few lines in general14:09:31
@k900:0upti.meK900 journalctl -u home-manager-<your username> 14:09:52
@tebriel:frodux.nettebriel thank you for that it led me to the journalctl --user -u agenix.service which shows me the error! Surprised this didn't fail something during the activation but at least I know where to look! 14:13:50
@tebriel:frodux.nettebriel(one of my secrets isn't encrypted for this user so agenix fails to decrypt it)14:14:06
@yaya:uwu.is@yaya:uwu.is left the room.21:37:15
3 Aug 2025
@sec:nyaw.xyzSecirian removed their profile picture.16:34:36
@sec:nyaw.xyzSecirian set a profile picture.16:34:42
4 Aug 2025
@impqxr:matrix.org@impqxr:matrix.org joined the room.21:51:58

Show newer messages


Back to Room ListRoom Version: 6