!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

332 Members
https://github.com/nix-community/NixOS-WSL55 Servers

Load older messages


SenderMessageTime
18 Sep 2024
@k900:0upti.meK900The stock images most definitely will not boot 19:51:55
@k900:0upti.meK900They are not designed to 19:51:58
@mellow_yellow:matrix.org@mellow_yellow:matrix.organd I found this though: https://github.com/nix-community/raspberry-pi-nix19:52:08
@k900:0upti.meK900 And mainline support is basically non-existent right now 19:52:10
@mellow_yellow:matrix.org@mellow_yellow:matrix.orgbut you need a Nixos installation to follow the steps19:52:20
@k900:0upti.meK900 Anyway, this is a #nixos-on-arm:nixos.org conversation 19:52:27
@mellow_yellow:matrix.org@mellow_yellow:matrix.orgah ok, I will join that one then , thanks! I'll lurk here though :-)19:53:00
19 Sep 2024
@az17e:mozilla.orgaz17e joined the room.00:28:53
@az17e:mozilla.orgaz17e set a profile picture.00:32:07
@memegames99:matrix.org@memegames99:matrix.org joined the room.01:52:30
@memegames99:matrix.org@memegames99:matrix.org set a profile picture.02:02:24
@memegames99:matrix.org@memegames99:matrix.org changed their profile picture.02:02:30
21 Sep 2024
@thescientiac:matrix.org@thescientiac:matrix.org left the room.06:44:32
22 Sep 2024
@k900:0upti.meK900https://github.com/nix-community/NixOS-WSL/pull/55004:43:50
@k900:0upti.meK900Very small change to avoid a warning04:43:54
26 Sep 2024
@whovian9369:matrix.orgWhovian9369 Hey y'all, happen to have tips on using config.wsl.enable or similar options to identify if a system is running under WSL or not?
I've been having some issues trying to add it to my Config Flake (Mainly around error: undefined variable 'config' even in the flake.nix itself), and I would love some examples or thoughts from someone please!
07:03:53
@k900:0upti.meK900 config is an argument your NixOS modules get 07:04:16
@k900:0upti.meK900There is no magic global variables in Nix07:04:22
@k900:0upti.meK900 If you see a name being referenced and the name is not builtins, it comes from somewhere 07:04:35
@whovian9369:matrix.orgWhovian9369Okay, thanks. Do you have any advice or tips on figuring out how to properly incorporate a check (possibly using that?) into my flake?07:18:50
@k900:0upti.meK900 In a module, add config to your top level arguments 07:19:11
@k900:0upti.meK900 As in instead of { pkgs, lib, ... } or whatever, do { config, pkgs, lib, ... } 07:19:25
@k900:0upti.meK900 And then you can do some.option = lib.mkIf config.wsl.enable "some-value" 07:19:52
@whovian9369:matrix.orgWhovian9369Okay, thank you!07:32:39
27 Sep 2024
@sigmasquadron:matrix.orgSigmaSquadron joined the room.00:17:11
@sigmasquadron:matrix.orgSigmaSquadron left the room.00:25:20
28 Sep 2024
@majiir:matrix.orgMajiir Paktu left the room.00:11:25
@majiir:matrix.orgMajiir Paktu joined the room.00:12:26
29 Sep 2024
@98765abc:mozilla.org98765abcSome applications in WSLg seem to extend beyond the screen range. Is there any way to specify screen range or size? 06:46:43
@98765abc:mozilla.org98765abcb5cac7b41602d7814aa692e86c93e954.png
Download b5cac7b41602d7814aa692e86c93e954.png
06:46:58

Show newer messages


Back to Room ListRoom Version: 9