!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
16 Jun 2024
@k900:0upti.meK900But it's kinda weird10:36:32
@andreas_dev:matrix.organdreas_dev
In reply to @k900:0upti.me
You could just have HM copy the files
You mean manually, right?
10:37:35
@k900:0upti.meK900You could also do that with an activation script10:37:46
@andreas_dev:matrix.organdreas_devI was thinking of a HM module since the 'defect' occurs when using home-manager, so ideally we would use an activation script there to copy/link the shortcuts there, right? That way we can keep a clear separation of concerns for copying of the system/user shortcuts and the home-manager/user shortcuts and we wouldn't have to deal with copying them from the systemd user service I'm not that familiar with the way these things work, but would that be possible? And what would the potential downsides be in your opinion?10:41:12
17 Jun 2024
@goolegoole:mozilla.orggoolegoole joined the room.02:05:58
@ixolate:matrix.orgixolate joined the room.12:49:57
@ixolate:matrix.orgixolate

Hello. Is there a relatively simple way I can build the tarball for arch-64?
The first command on the github docs build instructions page seemed like it could work, but ended with the following error.

a 'x86_64-linux' with features {} is required ... but I am a 'aarch64-linux' ...

Is it possible to change the #nixosConfigurations.default... in the url to something like #nixosConfigurations.arch64... or am I barking up the wrong tree?

16:06:46
@k900:0upti.meK900https://github.com/nix-community/NixOS-WSL/blob/main/flake.nix#L5816:07:57
@k900:0upti.meK900Just change this line16:07:59
@k900:0upti.meK900To aarch64-linux16:08:01
@k900:0upti.meK900And it should (?) build16:08:06
@ixolate:matrix.orgixolate
In reply to @k900:0upti.me
And it should (?) build

Yeah that seems to have sorted it, imported the newly built one into WSL and it works.

Thanks for that.

21:16:42
18 Jun 2024
@krystek17:matrix.org@krystek17:matrix.org left the room.05:56:12
@nzbr:nzbr.denzbr (they/it)Should we have aarch64 tarballs? We could build them, but I dont see any way to test them for now, so maybe labeled as experimental? 10:09:57
@k900:0upti.meK900Do we have aarch64 runners? 10:10:30
@k900:0upti.meK900Those are still closed beta IIRC? 10:10:54
@nzbr:nzbr.denzbr (they/it)I don't think so, but we could at least build a tarball with cross compilation or emulation 13:51:30
@k900:0upti.meK900https://www.amd.com/en/resources/support-articles/release-notes/RN-RAD-WIN-24-10-21-01-WSL-2.html19:49:06
@k900:0upti.meK900Hmm I wonder if I can get this wokring19:49:10
@k900:0upti.meK900 * Hmm I wonder if I can get this working19:49:12
@k900:0upti.meK900Hoo boy that driver is buggy20:24:57
21 Jun 2024
@whovian9369:matrix.orgWhovian9369

Hey, not sure if anyone else is noticing this warning, figured I'd mention it.

trace: warning: The option hardware.opengl.enable' defined in /nix/store/afzg4dwaxiv61ivqr6xwyjxbhm0nyabr-source/modules/wsl-distro.nix' has been renamed to hardware.graphics.enable'.`

23:26:43
@whovian9369:matrix.orgWhovian9369 *

Hey, not sure if anyone else is noticing this warning, figured I'd mention it.

trace: warning: The option 'hardware.opengl.enable' defined in '/nix/store/afzg4dwaxiv61ivqr6xwyjxbhm0nyabr-source/modules/wsl-distro.nix' has been renamed to 'hardware.graphics.enable'.

23:28:25
@whovian9369:matrix.orgWhovian9369 I'm using inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable;", and getting the warning on $ nix flake check and $ nixos-rebuild runs as one would expect.
It doesn't seem to be an issue atm, but figured it was still good to mention somewhere.
23:29:32
22 Jun 2024
@k900:0upti.meK900I'm aware (I made the nixpkgs side change)04:43:05
@k900:0upti.meK900It'll have to stay like that for now, because 24.05 does not have the new names04:43:16
@whovian9369:matrix.orgWhovian9369No worries from me, just figured I'd mention it in case. Thank you!07:07:22
@lotte:chir.rs@lotte:chir.rs left the room.19:20:06
@spewdins:beeper.comspewdins joined the room.19:20:29
23 Jun 2024
@andreas_dev:matrix.organdreas_devHm, could it be that the journal logger fails to start when the hostname in the Nix configuration differs from the Windows PC-name?09:56:53

Show newer messages


Back to Room ListRoom Version: 9