| 23 Nov 2023 |
Daniel Kahlenberg | wsl-vpnkit does not seem to work for me, can you help pls ?
See https://github.com/nix-community/NixOS-WSL/issues/262#issuecomment-1824903310 | 21:32:16 |
K900 | Try the new tunneled networking mode instead? | 21:33:50 |
K900 | wsl-vpnkit is a giant hack | 21:33:55 |
Daniel Kahlenberg | This one: https://learn.microsoft.com/en-us/windows/wsl/networking#dns-tunneling ? | 21:35:51 |
K900 | That and https://learn.microsoft.com/en-us/windows/wsl/networking#mirrored-mode-networking | 21:36:25 |
Daniel Kahlenberg | Both not supported here. | 21:43:44 |
Daniel Kahlenberg | * Both not supported here. Maybe I try another kernel later ? | 21:45:49 |
| 26 Nov 2023 |
| rdobre joined the room. | 21:10:14 |
| 27 Nov 2023 |
| @ThorHop:matrix.org changed their display name from hopland (nixpkgs-rolling when) to hopland (valorent vicky). | 14:30:50 |
| 30 Nov 2023 |
| Whovian9369 joined the room. | 06:31:59 |
Whovian9369 | Is there a suggested way to update the NixOS-WSL modules in /etc/nixos/nixos-wsl? | 06:32:49 |
K900 | Generally, switch to using them as a channel | 06:33:13 |
K900 | As we did in recent releases | 06:33:16 |
K900 | Then you can just nix-channel --update | 06:33:21 |
Whovian9369 | Is it documented where to add it as a channel? 😅 | 06:33:59 |
K900 | Uhh | 06:34:42 |
Whovian9369 | What channel that I need to add, I mean | 06:34:54 |
K900 | Basically just nix-channel --add https://github.com/nix-community/NixOS-WSL/archive/refs/heads/main.tar.gz nixos-wsl | 06:35:24 |
Whovian9369 | Cheers! | 06:35:34 |
K900 | And then replace the import in your config with import <nixos-wsl/modules> | 06:35:46 |
Whovian9369 | As my normal user or as root? (Guessing root since it's for content in /etc/nixos/?) | 06:36:00 |
Whovian9369 | Cheers K900! | 06:36:06 |
K900 | Root | 06:36:11 |
Whovian9369 | Do I only need to change the import configuration.nix? (This should be my final question, I promise :P) | 06:37:11 |
K900 | Uhh | 06:37:18 |
K900 | What's in your configuration.nix right now? | 06:37:26 |
Whovian9369 | let
nixos-wsl = import ./nixos-wsl;
in
| 06:37:35 |
Whovian9369 | { lib, pkgs, config, modulesPath, ... }:
with lib;
let
nixos-wsl = import ./nixos-wsl;
in
{
imports = [
"${modulesPath}/profiles/minimal.nix"
./packages.nix
./users.nix
nixos-wsl.nixosModules.wsl
];
wsl = {
enable = true;
automountPath = "/mnt";
defaultUser = "whovian";
startMenuLaunchers = false;
};
# Enable nix flakes
nix.package = pkgs.nixFlakes;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
time.timeZone = "America/New_York";
# Add environment.pathsToLink for auto-completion for system packages (e.g. systemd).
environment.pathsToLink = [ "/share/zsh" ];
system.stateVersion = "22.05";
}
| 06:38:46 |
K900 | Hold on | 06:40:46 |
K900 | Oh | 06:40:48 |