!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

You have reached the beginning of time (for this room).


SenderMessageTime
30 Nov 2023
@k900:0upti.meK900Yes06:45:18
@k900:0upti.meK900 You can remove import actually 06:45:23
@k900:0upti.meK900 Just <nixos-wsl/modules> 06:45:30
@whovian9369:matrix.orgWhovian9369Cheers06:45:34
@k900:0upti.meK900 Also would highly recommend removing the minimal profile 06:45:42
@k900:0upti.meK900It causes a lot of cache misses for not a lot of disk space saved06:45:50
@whovian9369:matrix.orgWhovian9369Ah-hah, thank you! I'll try that after this rebuild06:46:13
@whovian9369:matrix.orgWhovian9369 For some reason it looks like I'm building stuff with Meson right now, so I'll remove that minimal.nix export soon 😅 06:48:04
@whovian9369:matrix.orgWhovian9369 (Ah, looks like it's building mesa-23.1.9) 06:48:30
@k900:0upti.meK900Yeah that would be the minimal profile06:49:32
@whovian9369:matrix.orgWhovian9369Ah, damn it.06:49:38
@whovian9369:matrix.orgWhovian9369Thank you very much for the time, I appreciate it!06:50:14
@whovian9369:matrix.orgWhovian9369 Did ^C, removed the import, and surprise surprise no issues lol 06:55:34
@imincik:matrix.org@imincik:matrix.org joined the room.06:57:13
@whovian9369:matrix.orgWhovian9369 Did wsl.defaultUser change? Opening a new tab of NixOS in Windows Terminal keeps opening as root 07:55:08
@whovian9369:matrix.orgWhovian9369
  wsl = {
    enable = true;
    defaultUser = "whovian";
    startMenuLaunchers = false;
    wslConf = {
      automount = {
        root = "/mnt";};
    };
  };

Here's my current wsl entry, in case that helps?

07:56:17
@k900:0upti.meK900You need to restart the VM after updating to nixos-wsl if you haven't updated in a while07:56:48
@whovian9369:matrix.orgWhovian9369Damn it, fair point. Cheers!07:57:21
@whovian9369:matrix.orgWhovian9369Yep, that fixed it - Thanks again07:59:09
@whovian9369:matrix.orgWhovian9369 Okay, hopefully a final question - Can I no longer edit my configuration.nix with a Windows text editor? That seems to have stopped working... 08:04:36
@whovian9369:matrix.orgWhovian9369(Throwing an "Access is Denied" error via the editor)08:05:00
@k900:0upti.meK900chown it to your user 08:08:14
@whovian9369:matrix.orgWhovian9369I don't think that's a good idea, so oh well. I'm going to try and stop now, haha.08:09:30
@whovian9369:matrix.orgWhovian9369Thank you very much for your time!08:10:23
1 Dec 2023
@lotte:chir.rs@lotte:chir.rs changed their profile picture.09:36:16
3 Dec 2023
@bustatymes:matrix.org@bustatymes:matrix.org joined the room.08:22:06

Show newer messages


Back to Room ListRoom Version: 9