NixOS on WSL | 330 Members | |
| https://github.com/nix-community/NixOS-WSL | 54 Servers |
| Sender | Message | Time |
|---|---|---|
| 30 Apr 2024 | ||
| Interesting 🤔 That has nothing to do with my problem. The user session gets stopped....
| 11:44:01 | |
| K900: nzbr (they/it) do we spawn the systemd user session here https://github.com/nix-community/NixOS-WSL/blob/main/utils/src/shell_wrapper.rs#L22C41-L22C53 and then it get's killed after a short while? | 11:57:02 | |
| Oh no | 11:57:45 | |
| nope, that cannot be otherwise opening a new WSL session should bring systemd user back... | 11:57:55 | |
| I think there might be PAM fuckery | 11:57:51 | |
| * ~~nope, that cannot be otherwise opening a new WSL session should bring systemd user back...~~ | 12:18:19 | |
| * ~nope, that cannot be otherwise opening a new WSL session should bring systemd user back...~ | 12:18:22 | |
| above was a wrong assumption of me. When restarting wsl completely on 0b90c1d982d443358b3f7b3a303405449a2bfe54 things work, after that commit things are broken.... | 12:18:41 | |
In reply to @sandro:supersandro.deThe wrapper only sources /etc/set-environment for now, so it shouldn't affect any of that | 12:20:57 | |
In reply to @k900:0upti.meor that 😅 | 12:32:06 | |
| All a bit magic to me and I am happy that I got this far already 😂 | 12:32:20 | |
| dbus issues are always THE worst | 12:32:28 | |
| I tried disabling envfs and do some poor mans bisecting and I am pretty sure the issue the bad commits are 03b52c7ff0ae73d5044cd00212eb5b776819f5f0 and 4fb773cffed9bf1efdabcc01b25637eaeb4e8e9c, didn't test any inbetween | 12:33:07 | |
| 12:42:08 | |
| yeah, I think pam is closing the session, see lin 9 | 12:42:18 | |
| * yeah, I think pam is closing the session, see line 9 | 12:42:20 | |
| 22:20:03 | ||
| 1 May 2024 | ||
| 15:06:28 | ||
| 15:31:09 | ||
| 18:53:23 | ||
| 2 May 2024 | ||
Any idea why I am getting the nixos-rebuild manpage everytime I run nixos-rebuild --flake .#machine? | 08:47:35 | |
| Going to try recovery and then pin WSL to an official release rather than just main/master | 08:53:26 | |
| I've never seen that happen before (neither on bare-metal nor on WSL). Which nixpkgs version are you using? | 08:59:23 | |
| 23.11 5bf1cadb72ab4e77cb0b700dab76bcdaf88f706b | 09:02:46 | |
| Tried the recovery, but it doesn't mount /mnt/c where my config is located... Going to try just calling an older version of nixos-rebuild, see if that helps | 09:03:56 | |
In reply to @ottidmes:matrix.orgYou aren't specifying a subcommand like boot or switch | 09:04:28 | |
| Damn, that's it, feel so stupid now | 09:06:12 | |
| Thanks for the help! At least now I know I should work on my system recovery situation, as in my current setup I would have a hard time then. And I should update my script to default or error on missing a subcommand | 09:08:53 | |
| 3 May 2024 | ||
| Hey y'all, I'm beginning a switch from using Happen to have any tips or warnings for going from a "Path-based" system config to a Flake-based one? | 09:48:36 | |
| * Hey y'all, I'm beginning a switch from using Happen to have any tips or warnings for going from a "Path/Channel-based" system config to a Flake-based one? | 09:49:04 | |