NixOS on WSL | 342 Members | |
| https://github.com/nix-community/NixOS-WSL | 59 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Feb 2023 | ||
| Because there's less racing | 09:24:09 | |
| I just switched to nix-ld and so far that seems like the more stable approach to me | 10:06:18 | |
| I should really set that up at some point | 10:25:19 | |
| OK wow | 10:39:20 | |
It's just programs.nix-ld.enable now huh | 10:39:28 | |
| Noice | 10:39:29 | |
| and a second option to add packages | 13:37:26 | |
| 18 Feb 2023 | ||
| I am continuing my adventures in nixos wsl and discovered something that I want to get your advice on: This command seems to always work in PowerShell: On the other hand, when I try and run with a specified user, like Is that expected behaviour, or does it point at something being wrong with my setup?
[i97henka@nixos:/mnt/c/Users/i97he]$ | 16:35:44 | |
| Use native systemd | 16:36:08 | |
| Don't use not native systemd | 16:36:20 | |
| * I am continuing my adventures in nixos wsl and discovered something that I want to get your advice on: This command seems to always work in PowerShell: On the other hand, when I try and run with a specified user, like Is that expected behaviour, or does it point at something being wrong with my setup?
| 16:37:20 | |
| * I am continuing my adventures in nixos wsl and discovered something that I want to get your advice on: This command seems to always work in PowerShell: On the other hand, when I try and run with a specified user, like Is that expected behaviour, or does it point at something being wrong with my setup?
| 16:38:02 | |
| Can we please just drop syschdemd already, I genuinely don't care about the three people stuck on <=20H2 | 16:38:39 | |
| Thanks for reply @K900 - am I on the right track here you think? - https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/ | 16:40:37 | |
| No | 16:40:49 | |
Just set wsl.nativeSystemd = true in your config, rebuild, then restart your WSL VM | 16:41:33 | |
| That works - thanks a lot 👍️🙂👍️ 🙏 | 16:45:05 | |
| 17:08:58 | ||
| 19:25:40 | ||
| 19 Feb 2023 | ||
| 09:10:35 | ||
| 23:22:46 | ||
| 20 Feb 2023 | ||
| Download configuration.nix | 20:45:12 | |
| I am trying to change my nixos-wsl configuration.nix to add nixvim - as described here: https://github.com/pta2002/nixvim#without-flakes what confuses me is that in the nixvim example, lib is an input, whereas in my configuration.nix it is not. As a starting point, I just added lib as an input, and that worked, but when I tried the import it failed sayint there is no lib.fetchGit function. Attached my current non-working nixos-wsl configuration.nix | 20:45:18 | |
| * I am trying to change my nixos-wsl configuration.nix to add nixvim - as described here: https://github.com/pta2002/nixvim#without-flakes what confuses me is that in the nixvim example, lib is an input, whereas in my configuration.nix it is not. As a starting point, I just added lib as an input, and that worked, but when I tried the import it failed saying there is no lib.fetchGit function. Attached my current non-working nixos-wsl configuration.nix | 20:45:44 | |
It should probably be builtins.fetchGit or pkgs.fetchGit | 20:45:46 | |
Not lib.fetchGit | 20:45:49 | |
Thank you K900 , builtins is better - however, I get this error message now instead:error: executing 'git': No such file or directorywarning: could not read HEAD ref from repo at 'https://github.com/pta2002/nixvim', using 'master'error: executing 'git': No such file or directoryerror: program 'git' failed with exit code 1 | 20:48:52 | |
Do you have git installed? | 20:49:04 | |
which: no git in ... 🤣 | 20:49:47 | |
| let me sort that out | 20:49:56 | |