!9IQChSjwSHXPPWTa:lix.systems

Lix

702 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms216 Servers

Load older messages


SenderMessageTime
11 Nov 2024
@piegames:flausch.socialpiegamesIt doesn't, you need an overlay for that16:16:30
@lehmanator:tchncs.deSam Lehman

Ah okay. Was looking at the def of nixosModules.default and overlays.default from https://git.lix.systems/lix-project/nixos-module and saw it only overrides nix, nix-eval-jobs, and nix-doc, so wasn't sure if there was a mechanism in nixpkgs that uses the NixOS option for other utils.

16:19:06
@lehmanator:tchncs.deSam Lehman

Wanted to see if I could make a custom nixos-rebuild using nix-fast-build / nix-output-monitor with overrides to use lix.

16:19:12
@axx:jaccu.seaxx i saw this project had raitobezarius attached to is and that was good enough for me! 16:19:20
@lehmanator:tchncs.deSam Lehman

Would the lix-project/nixos-module repo accept a PR for a lix-based nixos-rebuild (and other related utils like nixos-install)?

...or would it be better to make a PR in nixpkgs to allow using config.nix.package for nix-based utils and just set that downstream?

Either way, it seems like expected behavior for a Lix nixosModule to configure the utils for working with NixOS to also use lix.

16:26:44
@raitobezarius:matrix.orgraitobezarius
In reply to @kfears:matrix.org

Gerrit seems to have some issues :/

fatal: Unpack error, check server log
error: remote unpack failed: error Missing tree 497d9883f549cd1a2242e6929623941702a783fe
Still ongoing?
16:27:40
@kfears:matrix.orgKFears (annoying)
In reply to @raitobezarius:matrix.org
Still ongoing?
Just checked, seems to be a "yes" :(
16:28:08
@raitobezarius:matrix.orgraitobezarius
In reply to @axx:jaccu.se
i saw this project had raitobezarius attached to is and that was good enough for me!
Oh wow, I don't know what earned me such a reputation but thank you for the trust! Hope you get a good experience!
16:28:32
@axx:jaccu.seaxxIt was nice to meet you at Chaos Camp last year and so far what i see of your work overall looks good, so i guess that does it :)16:34:12
@k900:0upti.meK900
In reply to @lehmanator:tchncs.de

Would the lix-project/nixos-module repo accept a PR for a lix-based nixos-rebuild (and other related utils like nixos-install)?

...or would it be better to make a PR in nixpkgs to allow using config.nix.package for nix-based utils and just set that downstream?

Either way, it seems like expected behavior for a Lix nixosModule to configure the utils for working with NixOS to also use lix.

I'm pretty sure nixpkgs does that already?
17:04:23
@aloisw:kde.orgaloisw Doesn't --fast just use the system nix? 17:16:39
@k900:0upti.meK900It does 17:42:09
@lehmanator:tchncs.deSam Lehman
In reply to @k900:0upti.me
I'm pretty sure nixpkgs does that already?

Whoops, you are correct.

Turns out I had a nixos-rebuild installed in a profile, so nixos-rebuild repl was showing a non-Lix nix version.

18:36:38
@lehmanator:tchncs.deSam Lehman

Not sure how nixpkgs is passing config.nix.package to other utils though.

Thenix.package option is declared in nixpkgs/nixos/modules/services/system/nix-daemon.nix, which only sets the nix binary used by the nix-daemon service & adds it to environment.systemPackages.

Looks like pkgs.nixos-install& pkgs.nixos-rebuild get passed a nix package via the callPackage pattern, so idk how the option value propagates down to other packages depending on the nix binary.

18:43:28
@lehmanator:tchncs.deSam Lehman *

Not sure how nixpkgs is passing config.nix.package to other utils though.

The nix.package option is declared in nixpkgs/nixos/modules/services/system/nix-daemon.nix, which only sets the nix binary used by the nix-daemon service & adds it to environment.systemPackages.

Looks like pkgs.nixos-install& pkgs.nixos-rebuild get passed a nix package via the callPackage pattern, so idk how the option value propagates down to other packages depending on the nix binary.

18:43:41
@k900:0upti.meK900They're weirdly magical18:44:14
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/tools.nix18:45:17
@lehmanator:tchncs.deSam Lehman
In reply to @k900:0upti.me
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/tools.nix

ah makes sense now, thanks!

Didn't know anything from nixos/modules/installer was imported by default. Feels like this would be in nixos/modules/config/nix.nix instead of nixos/modules/installer/tools/tools.nix.

18:59:21
@vorboyvo:matrix.vorboyvo.comvorboyvo joined the room.19:33:36
@vorboyvo:matrix.vorboyvo.comvorboyvo 19:34:21
12 Nov 2024
@gulbanana:matrix.orggulbananadoes anyone know whether the lix installer works on WSL?05:06:42
@gulbanana:matrix.orggulbanana(and indeed whether lix itself does?)05:06:58
@kfears:matrix.orgKFears (annoying) I can't confirm either, but it is supposed to work, I think 05:09:29
@kfears:matrix.orgKFears (annoying)https://git.lix.systems/lix-project/lix-installer#in-wsl205:10:23
@gulbanana:matrix.orggulbananagreat, i'll give it a shot05:13:46
@gulbanana:matrix.orggulbananait seems to have worked fine. i didn't have to enable systemd as the instructions suggest, because it's on by default these days05:22:31
@kfears:matrix.orgKFears (annoying)Nice!05:25:31
@aidalgol:matrix.orgaidalgolAFAIK, the builder sandboxing won't work under WSL1, but everything should work fine under WSL2.05:32:27
@gulbanana:matrix.orggulbananai'm using WSL2, although it's a shame that the WSL1 model didn't work it. it was a more novel tech05:32:57
@gulbanana:matrix.orggulbananaand more of an actual "subsystem" than the current integrated-virtual-machine approach05:33:09

Show newer messages


Back to Room ListRoom Version: 10