Laptop specific configuration Dell XPS 9750 slows boot time and shows error - am I doing it wrong?

Hi all! I am new to NixOS and loving the experience so far. I tried to tweak my config a bit because I found a platform specific configuration for my Dell XPS 9750. It has a comment that including it may "save my life” - well, I figured, let’s try to use this config then, since it seems to have something to do with a bug in power / battery management.

Dell XPS 9750 config from nixos-hardware repo linked below, see the warning about “thermald” in shared.nix:

Searching around, I found a way to include that config in my configuration.nix by adding the following to the input section where by default just the hardware-configuration.nix gets referenced.

´´´ configuration.nix

Imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
“${builtins.fetchTarball ‘‘https://github.com/NixOS/nixos-hardware/archive/master.tar.gz’’}/dell/xps/15-9570”
];

´´´

The issue I have is that it increases boot time a bit and I can spot an error message in the text that breezes through, after “nix stage 1”. It says “loading module i951…” then there are around 10 or so empty lines before it says “ERROR Failed to probe lspcon”.

From what I have read, LSPCON is just for display output, which I have no issues with regardless of the xps 9750 specific config is in place or not.

In the default state of the config, module i915 is not loaded from what I can see. Kinda strange because that would be the internal graphics, which work either way… I guess?

Maybe let’s start with the easy question for you guys and then dig deeper: Did I even reference the nixos-hardware config files correctly?

Thank you so much in advance for helping me out with this! :slight_smile: