!XLCFfvFhUkYwOMLbVx:nixos.org

agenix

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

You have reached the beginning of time (for this room).


SenderMessageTime
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

Show newer messages


Back to Room ListRoom Version: 6