!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

328 Members
https://github.com/nix-community/NixOS-WSL54 Servers

Load older messages


SenderMessageTime
11 Sep 2024
@k900:0upti.meK900 services.openssh stuff affects the SSH server, not the client 14:58:04
@k900:0upti.meK900So you can drop those14:58:19
@k900:0upti.meK900 programs.ssh.startAgent should work, but you need to add your key to the agent first 14:58:41
@k900:0upti.meK900 With ssh-add /path/to/your/key 14:58:46
@common16:matrix.orgcommon16This goes back to the issue I had last week. When I try to ssh-add I run into a "Error connecting to agent: No such file or directory" with my SSH_AUTH_SOCK set to /run/user/1000//ssh-agent15:00:15
@common16:matrix.orgcommon16That's why I'm manually copying over my host .ssh/ folder into the WSL nixos user on programs.fish.shellInit15:00:35
@k900:0upti.meK900What is setting that?15:00:36
@k900:0upti.meK900Actually15:01:13
@k900:0upti.meK900 What does systemctl --user status ssh-agent output? 15:01:22
@common16:matrix.orgcommon16Loaded: /etc/systemd/user/ssh-agent.service; enabled15:02:19
@k900:0upti.meK900OK it didn't start automatically then which is probably because you rebuilt and didn't restart the session15:03:08
@k900:0upti.meK900 Try systemctl --user start ssh-agent 15:03:14
@common16:matrix.orgcommon16That entered silently lol15:04:17
@k900:0upti.meK900That is normal15:04:25
@k900:0upti.meK900 You can try ssh-add now 15:04:31
@common16:matrix.orgcommon16That worked. Do I need to run that systemctl on every startup?15:05:10
@k900:0upti.meK900No15:12:23
@common16:matrix.orgcommon16Why did I need to run it that time? lol15:20:24
@common16:matrix.orgcommon16I'm worried that that one-off command will lead me to non-reproducible environments as I try to lift-and-shift this WSL between machines15:20:42
@k900:0upti.meK900
In reply to@common16:matrix.org
Why did I need to run it that time? lol
Because it's configured to run on startup and it wasn't startup
15:54:49
14 Sep 2024
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (nix.camp) to SomeoneSerge (utc+3).11:38:11
@crimsonpanda:matrix.org@crimsonpanda:matrix.org joined the room.16:12:13
@mwoodpatrickmx:matrix.orgmwoodpatrickmx joined the room.16:12:24
@crimsonpanda:matrix.org@crimsonpanda:matrix.org left the room.16:12:56
16 Sep 2024
@silentlurker:matrix.orgsilentlurker joined the room.19:56:19
18 Sep 2024
@mellow_yellow:matrix.org@mellow_yellow:matrix.org joined the room.19:49:11
@mellow_yellow:matrix.org@mellow_yellow:matrix.orghey there, just installed NixOS on WSL to get familiar with it and to do the prep to get it installed on my raspberry pi 5 when I saw this channel in the splash text when you first start NixOS :-)19:50:08
@mellow_yellow:matrix.org@mellow_yellow:matrix.orgso hello all 👋19:50:23
@k900:0upti.meK900Oh no 19:50:43
@k900:0upti.meK900Another RPi519:50:47

Show newer messages


Back to Room ListRoom Version: 9