8 May 2024 |
balanced_design |
- I have installed nixos. Its on wsl version 2. Its set to default.
- I open it using wsl -d <distro name>
- I cd into /mnt/wslg/distro/etc/nixos/
- I try to edit the file using "sudo nano configuration.nix" (I use nano since I didnt know which editor and using nano appears here https://wiki.nixos.org/wiki/Nixos-rebuild.)
| 14:19:33 |
K900 | Yeah that's the wrong place | 14:19:55 |
K900 | You want to just cd /etc/nixos | 14:20:01 |
balanced_design | Thank you for the help. I appreciate it alot. | 14:22:22 |
balanced_design | Since you seem to know a decent bit about android and WSL. Do you have any ideas on a way to get android on windows with good performance? | 14:24:59 |
balanced_design | I am happy to research them myself, you dont need to write everything about them for me | 14:25:25 |
K900 | The official Android emulator seems OK for me? | 14:25:35 |
balanced_design | Just asking for any ideas. | 14:25:36 |
K900 | I don't really use Android apps though | 14:25:47 |
balanced_design | Thanks for answering. Sadly in the past I've tried the android studio emulator (which is what I assume you mean), aswell as nox a long time ago, and I'm using WSA now.
If waydroid on WSL doesnt work out I'll google if theres some other "official android emulator" that you could have been refering to. | 14:32:51 |
balanced_design | Thanks again | 14:33:34 |
K900 | I do mean the Android Studio emulator | 14:34:04 |
nzbr (they/it) | In my experience that one is really slow though (especially compared to WSA)
Some time ago I used Genymotion Desktop, but I have no idea how good their free version is now. And if you can stand adware, BlueStacks had really good performance last time I used it; it's just really annoying (at least they don't seem to make you download random apps to be allowed to continue using it anymore) | 14:41:30 |
balanced_design | Ive done alot of searching before, never heard of genymotion. Looks promising, thank you. | 17:09:37 |
balanced_design | In reply to @k900:0upti.me For VSCode, the easiest workaround is probably https://github.com/K900/vscode-remote-workaround/blob/main/vscode.nix K900, sorry to bother, that link you sent here. Is this supposed to go into the nix config? I tried to some searching for other places a .nix file may need to go, but didnt find any general overview with a cursory search. | 17:14:52 |
K900 | In reply to @balanced_design:matrix.org K900, sorry to bother, that link you sent here. Is this supposed to go into the nix config? I tried to some searching for other places a .nix file may need to go, but didnt find any general overview with a cursory search. Well you can just copy lines 20-32 into your config | 17:17:29 |
9 May 2024 |
| @senor-burns:matrix.senor-burns.net left the room. | 15:50:42 |
| SomeoneSerge (utc+3) changed their display name from SomeoneSerge (Way down Hadestown) to SomeoneSerge (UTC+3). | 17:11:27 |
| Charles Hamilton joined the room. | 19:19:18 |
10 May 2024 |
| isabel changed their profile picture. | 13:15:09 |
11 May 2024 |
| 98765abc joined the room. | 06:22:56 |
| 98765abc set a profile picture. | 07:09:55 |
13 May 2024 |
| pm5k joined the room. | 10:08:04 |
pm5k | Hi, I am currently having trouble figuring out why my wsl install of nix isn't seeing windows binaries available to it (explorer.exe for instance) nor can I see the windows path prepended to my nixOS path.
My config for the system (wsl specifically) is:
wsl = {
enable = true;
defaultUser = "redacted";
nativeSystemd = true;
interop.register = true;
wslConf.network.hostname = "nixwsl";
};
Based on the documentation provided here: https://nix-community.github.io/NixOS-WSL/options.html the following options default to true and as such I assume they are set whether or not I explicitly define them in the block above?
- wsl.interop.includePath
- wsl.wslConf.interop.enabled
- wsl.wslConf.interop.appendWindowsPath
However upon trying to run "explorer.exe" - it simply does not work. Not so on my orther wsl VM running Arch where the path seems to be appended properly. Can anyone help?
| 10:16:31 |
K900 | What shell are you using? | 10:28:04 |
pm5k | In reply to @k900:0upti.me What shell are you using? zsh | 10:30:20 |
K900 | Make sure programs.zsh.enable is enabled in your config | 10:30:35 |
pm5k | Download image.png | 10:31:04 |
pm5k | This is in configuration.nix | 10:31:12 |
pm5k | Download image.png | 10:31:42 |