!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

332 Members
https://github.com/nix-community/NixOS-WSL55 Servers

Load older messages


SenderMessageTime
16 Aug 2024
@rvdp:infosec.exchangeRamses 🇵🇸 joined the room.16:26:04
@whitewolfdancer:transfem.devFallen Star [She/Her]🏳️‍⚧️ joined the room.20:05:14
17 Aug 2024
@isabel:isabelroses.comisabel left the room.12:36:29
@isabel:isabelroses.comisabel joined the room.12:39:31
@isabel:isabelroses.comisabel changed their profile picture.12:41:30
18 Aug 2024
@r3vx:matrix.orgr3vx joined the room.14:17:42
@whovian9369:matrix.orgWhovian9369

Hey gang, any new NixOS tab prints agenix-related errors (from exporting to variables).
Normally those happen when doing the initial "boot" and do not appear whenever I open new tabs, but now they seem to start on new tabs.
My only guess as to the cause is pulling in https://github.com/nix-community/NixOS-WSL/commit/ac026940beb42f74c5666f6ed3989aca41eddeea

Anyone have tips on what to try?

19:56:32
@k900:0upti.meK900Post the errors please19:57:39
@whovian9369:matrix.orgWhovian9369 They're just cat errors of "No such file or directory" - I'll get the actual errors in a moment. 19:58:08
@whovian9369:matrix.orgWhovian9369 (My assumption with how it works is that systemd doesn't come up until after agenix does, causing the conflict of not being able to register the secret mount points. Once I open a new tab, the shell tries to set the variables again, this time succeeding since the points are available.) 19:58:20
@whovian9369:matrix.orgWhovian9369

The errors:

cat: /run/user/1000//agenix/cursed: No such file or directory
cat: /run/user/1000//agenix/elixire: No such file or directory
cat: /run/user/1000//agenix/itchy: No such file or directory
cat: /run/user/1000//agenix/openai: No such file or directory
19:59:13
@whovian9369:matrix.orgWhovian9369To try and reiterate the issue, those used to only appear after the initial instance "boot" but appear to happen for every new tab.20:00:23
@k900:0upti.meK900Oh great20:00:31
@k900:0upti.meK900Are you trying to decrypt those with system-wide agenix config?20:00:50
@k900:0upti.meK900 You have to use the home-manager module for this to have any chance of working correctly 20:02:03
@k900:0upti.meK900Not just on WSL20:02:26
@k900:0upti.meK900But in general20:02:27
@whovian9369:matrix.orgWhovian9369 Loaded as an h-m module via nixosConfigurations.hostname.modules = [ { home-manager.user.whovian.imports = [ agenix.homeManagerModules.default ]; }; ];
Then gets run through cat as part of my h-m config itself
20:03:49
@whovian9369:matrix.orgWhovian9369I can link my config (with specific line numbers) in case you think that may help.20:04:11
@k900:0upti.meK900Hmm20:05:11
@k900:0upti.meK900I wonder if it's just agenix that's wrong then20:05:30
@k900:0upti.meK900OK no it's not20:06:19
@k900:0upti.meK900They're doing things correctly20:06:23
@k900:0upti.meK900 Check journalctl --user -u agenix 20:06:28
@whovian9369:matrix.orgWhovian9369
$  journalctl --user -u agenix
-- No entries --

This feels... Suspiciously empty :P

20:06:50
@k900:0upti.meK900 What does systemctl --user status agenix say? 20:07:58
@whovian9369:matrix.orgWhovian9369
$  systemctl --user status agenix
Failed to connect to bus: No such file or directory

... Lemme try a couple other tabs quickly.

20:08:35
@whovian9369:matrix.orgWhovian9369 Same error on all of my tabs, that's very weird. 20:08:59
@k900:0upti.meK900Yeah, your user services are failing20:09:21
@k900:0upti.meK900Most likely20:09:23

Show newer messages


Back to Room ListRoom Version: 9