!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

284 Members
https://github.com/nix-community/NixOS-WSL56 Servers

Load older messages


SenderMessageTime
19 Sep 2024
@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.org@sigmasquadron:matrix.org joined the room.00:17:11
@sigmasquadron:matrix.org@sigmasquadron:matrix.org 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
@98765abc:mozilla.org98765abcemacs-pgtk06:47:04
@98765abc:mozilla.org98765abc * emacs-pgtk(wayland)06:47:13
@k900:0upti.meK900No, WSLg is just like that06:47:48
@98765abc:mozilla.org98765abcThank you very much06:48:34
30 Sep 2024
@aledomu:matrix.orgAlejandro Domínguez joined the room.12:37:26
@nowaaay:matrix.org@nowaaay:matrix.org left the room.17:03:08
1 Oct 2024
@-_o:matrix.org-_o joined the room.21:02:55
2 Oct 2024
@vo1dz3r0:matrix.orgSir Void joined the room.03:42:12
@avgvstvs96:matrix.orgavgvstvs96 joined the room.16:27:21
7 Oct 2024
@memegames99:matrix.org@memegames99:matrix.org removed their profile picture.00:05:35

Show newer messages


Back to Room ListRoom Version: 9