!9IQChSjwSHXPPWTa:lix.systems

Lix

1092 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-rooms292 Servers

Load older messages


SenderMessageTime
1 Nov 2025
@leana8959:faefox.devPrimrose (== Léana)update: I stopped doing that and use the lix in nixpkgs and now it works11:49:46
@leana8959:faefox.devPrimrose (== Léana)* update: I stopped doing that and use the lix in nixpkgs and now it works :)11:49:47
@crop_tech:matrix.orgcropRedacted or Malformed Event16:06:36
2 Nov 2025
@frequenta:matrix.orgfrequenta

Casual NixOS user here since a few odd years, barely know the Nix lang, didn’t package a single piece of software.

Switched to Lix, braced myself for the regressions, thinking lI’ll roll back immediately if anything important doesn’t work”, and it was seamless. Nothing broke, except a single program I built using a nix-shell script. Re-ran the script and it was fine.

09:57:24
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)

does anybody have experience with the rpi4 and screens?

https://github.com/nvmd/nixos-raspberrypi

Hello,

I have been having issues the past few months with using https://www.waveshare.com/wiki/5inch_DSI_LCD on Raspberry Pi 4 with NixOS.
I don't even know anymore what would cause libinput to not recognize the device?
I have imported all the modules and added

hardware.raspberry-pi.config.all.dt-overlays.vc4-kms-dsi-waveshare-800x480enable = true;
# Do not edit!
# This configuration file is generated from NixOS configuration
# options `hardware.raspberry-pi.config`.
# Any manual changes will be overwritten on the next configuration
# switch.
[all]
arm_64bit=1
arm_boost=1
avoid_warnings=1
camera_auto_detect=1
disable_fw_kms_setup=1
disable_overscan=1
display_auto_detect=1
enable_uart=1
kernel=u-boot-rpi-arm64.bin
max_framebuffers=2
dtparam=audio=on
dtoverlay=vc4-kms-dsi-waveshare-800x480
dtoverlay=
dtoverlay=vc4-kms-v3d
dtoverlay=

[cm4]
otg_mode=1

[cm5]
dtoverlay=dwc2
dtparam=dr_mode=host
dtoverlay=
[root@cedarix:~]# ls -al /dev/input/
total 0
drwxr-xr-x  2 root root      60 Jan  1  1970 .
drwxr-xr-x 19 root root    3960 Nov  2 14:14 ..
crw-rw----  1 root input 13, 63 Nov  2 14:14 mice
12:30:20
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) Posting this here cause it's not NixOS 12:30:43
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)😭12:30:46
@oddlid:tchncs.deOdd [tchncs] changed their display name from oddlid to Odd [tchncs].13:12:49
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) * 13:39:10
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) This I on NixOS 13:45:15
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)I had a typo 😭13:45:23
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) * 13:45:29
@k900:0upti.meK900I would highly recommend using mainline14:03:21
@k900:0upti.meK900And not touching any of the nixos-hardware nonsense14:03:30
@tobiasvandriessel:matrix.orgtobiasvandriessel joined the room.14:03:50
@hexa:lossy.networkhexayeah, it is fine to take inspiration from nixos-hardware, but I wouldn't import it in full 🙂 14:04:48
@tobiasvandriessel:matrix.orgtobiasvandriessel

Hey Everyone, I'd like to request help and hope this is the right place to ask.

Problem

I've been encountering a cmake error when trying to switch to a new generation (just updates to packages from updated nixpkgs), and am aware this is being tracked here, but I'm wondering what I can do right now. Because, frankly, I can't update any of my packages as long as I get this error. And I can imagine that many users are facing this issue.

The error in short:

 > CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
       >   Compatibility with CMake < 3.5 has been removed from CMake.
       >
       >   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
       >   to tell CMake that the project requires at least <min> but has been updated
       >   to work with policies introduced by <max> or earlier.
       >
       >   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
       >
       >
       > -- Configuring incomplete, errors occurred!
       For full logs, run 'nix log /nix/store/4w4b558kk5m3ij11ycxbm4pry3ss6m45-capnproto-1.0.2.drv'.
error: 1 dependencies of derivation '/nix/store/pfkvpc5is5yvdhrw6p14dm8m64lq28mb-lix-2.93.3-pre20250722-7ac20fc.drv' failed to build

What I've tried

I've tried to use a overlay for capnproto, but even though the overlay is seen by nix repl, it's not being applied. After trying for an hour last weekend, I gave up on that route.

Any advice? Thanks in advance!
I've tried

14:27:34
@tobiasvandriessel:matrix.orgtobiasvandriessel *

Hey Everyone, I'd like to request help and hope this is the right place to ask. Feel free to redirect me to a more appropriate place.

Problem

I've been encountering a cmake error when trying to switch to a new generation (just updates to packages from updated nixpkgs), and am aware this is being tracked here, but I'm wondering what I can do right now. Because, frankly, I can't update any of my packages as long as I get this error. And I can imagine that many users are facing this issue.

The error in short:

 > CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
       >   Compatibility with CMake < 3.5 has been removed from CMake.
       >
       >   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
       >   to tell CMake that the project requires at least <min> but has been updated
       >   to work with policies introduced by <max> or earlier.
       >
       >   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
       >
       >
       > -- Configuring incomplete, errors occurred!
       For full logs, run 'nix log /nix/store/4w4b558kk5m3ij11ycxbm4pry3ss6m45-capnproto-1.0.2.drv'.
error: 1 dependencies of derivation '/nix/store/pfkvpc5is5yvdhrw6p14dm8m64lq28mb-lix-2.93.3-pre20250722-7ac20fc.drv' failed to build

What I've tried

I've tried to use a overlay for capnproto, but even though the overlay is seen by nix repl, it's not being applied. After trying for an hour last weekend, I gave up on that route.

Any advice? Thanks in advance!
I've tried

14:28:10
@tobiasvandriessel:matrix.orgtobiasvandriessel *

Hey Everyone, I'd like to request help and hope this is the right place to ask. Feel free to redirect me to a more appropriate place.

Problem

I've been encountering a cmake error when trying to switch to a new generation (just updates to packages from updated nixpkgs), and am aware this is being tracked here, but I'm wondering what I can do right now. Because, frankly, I can't update any of my packages as long as I get this error. And I can imagine that many users are facing this issue.

The error in short:

 > CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
       >   Compatibility with CMake < 3.5 has been removed from CMake.
       >
       >   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
       >   to tell CMake that the project requires at least <min> but has been updated
       >   to work with policies introduced by <max> or earlier.
       >
       >   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
       >
       >
       > -- Configuring incomplete, errors occurred!
       For full logs, run 'nix log /nix/store/4w4b558kk5m3ij11ycxbm4pry3ss6m45-capnproto-1.0.2.drv'.
error: 1 dependencies of derivation '/nix/store/pfkvpc5is5yvdhrw6p14dm8m64lq28mb-lix-2.93.3-pre20250722-7ac20fc.drv' failed to build

What I've tried

I've tried to use a overlay for capnproto, but even though the overlay is seen by nix repl, it's not being applied. After trying for an hour last weekend, I gave up on that route.

Any advice? Thanks in advance!
Tobias

14:28:48
@raitobezarius:matrix.orgraitobezarius tobiasvandriessel can you share your config in how you use Lix? 14:33:13
@tobiasvandriessel:matrix.orgtobiasvandriesselSure thing! Let me start a thread here. 14:35:25
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)this is not nixos-hardware14:39:07
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)😭14:39:10
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)https://discourse.nixos.org/t/cant-get-nixos-x-to-work-on-a-raspberry-pi-with-dsi-display/4453214:40:20
@tobiasvandriessel:matrix.orgtobiasvandriessel

Flake input

  inputs = {  inputs.nixpkgs.follows = "nixpkgs";
    };
    lix-module = {
      url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.3-1.tar.gz";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

output:

  outputs = { self, nixpkgs, home-manager, lix-module } @ inputs:
    {
      [...]
      nixosConfigurations = {
        nixos-tobias = lib.nixosSystem {
          inherit system;
          specialArgs = {inherit inputs outputs;};
          modules = with self.nixosModules; [
            [...]
            lix-module.nixosModules.default
          ];
        };
      };
    };
14:40:27
@k900:0upti.meK900Yes it is14:41:00
@tobiasvandriessel:matrix.orgtobiasvandriesselAnd I know flakes are part of a hot debate, but for better or worse, I've always used it14:41:12
@k900:0upti.meK900 There is no "hardware.raspberry-pi" in nixpkgs 14:41:12
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)they have reimplemented it14:41:29
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)nixos-rasperry-bi14:41:38

Show newer messages


Back to Room ListRoom Version: 10