!9IQChSjwSHXPPWTa:lix.systems

Lix

1117 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-rooms300 Servers

Load older messages


SenderMessageTime
16 May 2024
@teutat3s:pub.solarteutat3s jade_: Great, thanks! I want to say that I really like how the lix project documents stuff. 07:36:25
@jade_:matrix.org@jade_:matrix.org(this page was fixed to actually exist in the past two days and is not comprehensive, just including the stuff we remembered to write release notes for)07:38:23
@jade_:matrix.org@jade_:matrix.orgbut you can see changes by eelco in it so there are certainly cherry picks :)07:38:42
@fwam:femdom.solutionsfwamNyaa08:46:13
@fwam:femdom.solutionsfwamLix Devel channel gives me vibes of "You wouldn't make a lesbian fork of Nix"08:46:55
@clango:matrix.orgclango joined the room.09:40:11
@johnhamelink:matrix.orgjohnhamelink joined the room.10:54:38
@johnhamelink:matrix.orgjohnhamelinkHi there :D I have a NixOS homelab server I'd like to try out lix on. I'm configuring it using flakes. I followed the tutorial on the website to modify my config, and the config compiles and switches successfully, but nix --version proves that my nix executable hasn't changed to the lix one. I'm still pretty shakey when it comes to debugging things like this - does anyone have any suggestions on how I could figure out why the lix binary isn't in my PATH?10:57:39
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)
In reply to @johnhamelink:matrix.org
Hi there :D I have a NixOS homelab server I'd like to try out lix on. I'm configuring it using flakes. I followed the tutorial on the website to modify my config, and the config compiles and switches successfully, but nix --version proves that my nix executable hasn't changed to the lix one. I'm still pretty shakey when it comes to debugging things like this - does anyone have any suggestions on how I could figure out why the lix binary isn't in my PATH?
whats the output of which nix ?
11:08:09
@delroth:delroth.netdelroth another thing you might want to check is systemctl status nix-daemon to make sure it's using a nix-daemon from Lix - if so then most likely your NixOS config is correct and it's a $PATH issue for your user, if not then you have something in your NixOS config overriding config.nix.package 11:08:56
@johnhamelink:matrix.orgjohnhamelink
In reply to Grimmauld
In reply to @johnhamelink:matrix.org
Hi there :D I have a NixOS homelab server I'd like to try out lix on. I'm configuring it using flakes. I followed the tutorial on the website to modify my config, and the config compiles and switches successfully, but nix --version proves that my nix executable hasn't changed to the lix one. I'm still pretty shakey when it comes to debugging things like this - does anyone have any suggestions on how I could figure out why the lix binary isn't in my PATH?
whats the output of which nix ?
john@sun:~/lix-next/ > nix --version nix (Nix) 2.18.2
11:08:42
@delroth:delroth.netdelroth (even better: grep lix /etc/systemd/system/nix-daemon.service should show an ExecStart= line if your NixOS config is correctly using Lix) 11:09:52
@johnhamelink:matrix.orgjohnhamelink
In reply to delroth
(even better: grep lix /etc/systemd/system/nix-daemon.service should show an ExecStart= line if your NixOS config is correctly using Lix)
No lix there either somehow...!
11:10:14
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de) yeah, but a simple which nix should at least tell us where it pulls it in the PATH, that'd be a good start 11:10:28
@delroth:delroth.netdelroth then something in your NixOS configuration is overriding the nix.package option, most likely 11:10:30
@delroth:delroth.netdelrothor the Lix module is not being properly imported11:10:46
@johnhamelink:matrix.orgjohnhamelink
In reply to Grimmauld
yeah, but a simple which nix should at least tell us where it pulls it in the PATH, that'd be a good start
which nix shows /run/current-system/sw/bin/nix
11:10:47
@delroth:delroth.netdelroth
In reply to @johnhamelink:matrix.org
which nix shows /run/current-system/sw/bin/nix
(that is correct and what it should be, fwiw)
11:11:04
@johnhamelink:matrix.orgjohnhamelink
In reply to johnhamelink
In reply to Grimmauld
yeah, but a simple which nix should at least tell us where it pulls it in the PATH, that'd be a good start
which nix shows /run/current-system/sw/bin/nix
readlink -f on it shows /nix/store/62nhzqm27dadv0czp5gqnnc38xfbi8k4-nix-2.18.2/bin/nix
11:11:14
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de) right.... do you set nix.package = pkgs.nixVersions.<...>; somewhere? If so you'll have to remove that part 11:12:08
@johnhamelink:matrix.orgjohnhamelink
In reply to Grimmauld
right.... do you set nix.package = pkgs.nixVersions.<...>; somewhere? If so you'll have to remove that part
one sec, I will check :)
11:12:29
@johnhamelink:matrix.orgjohnhamelink
In reply to Grimmauld
right.... do you set nix.package = pkgs.nixVersions.<...>; somewhere? If so you'll have to remove that part
I don't, but I do have a let pkgs = import nixpkgs {}; where I add overlays - could that be problematic?
11:13:24
@johnhamelink:matrix.orgjohnhamelink^ I do that in the output function of flake.nix11:13:51
@johnhamelink:matrix.orgjohnhamelinkHere's my flake.nix, if that's any help! https://0x0.st/XPiZ.txt11:16:38
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)

i mean, what you always can do is nix.package = pkgs.lix; now that the lix package is in nixpkgs, but you'll loose out on running the git version.

If you actually want to fix the git version, you need to make sure the lix overlays are being applied correctly, potentially doing it directly instead of through the module.
That overlay would be at inputs.lix-module.overlays.${system}.default and would go into your overlays = [] list.

11:20:20
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de) see nix flake show git+https://git.lix.systems/lix-project/nixos-module for the exact path 11:20:59
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de) that said, without proper testing i can't immediately tell you why your approach shouldn't work 11:22:16
@johnhamelink:matrix.orgjohnhamelinkThanks, will give it a go in a sec :) Just being distracted by a call right now but will read through in a wee moment :D Thanks!11:23:48
@putch4r:matrix.orgputchar joined the room.11:36:40
@drupol:matrix.org@drupol:matrix.org Trying to update my config seems to be broken: error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "build-release-notes" at /nix/store/yvfqn… ┣ 11:42:00

There are no newer messages yet.


Back to Room ListRoom Version: 10