loki | adding tempory overrides whilst fprint build bug active

This commit is contained in:
Don Harper 2025-03-19 22:39:44 -05:00
parent 7614ac5d73
commit 08db1be957

View file

@ -1,6 +1,13 @@
{ inputs, outputs, lib, config, pkgs, ... }: { { inputs, outputs, lib, config, pkgs, ... }: {
imports = [ imports = [
inputs.nixos-hardware.nixosModules.dell-xps-13-9310 # inputs.nixos-hardware.nixosModules.dell-xps-13-9310
# FIXME 2025-03-19
# https://github.com/NixOS/nixpkgs/pull/389711
# https://github.com/NixOS/nixpkgs/issues/389620
inputs.nixos-hardware.nixosModules.common-cpu-intel
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-ssd
##################################################
./hardware-configuration.nix ./hardware-configuration.nix
# ../disko/nvme.nix # ../disko/nvme.nix
../workstation ../workstation
@ -26,4 +33,28 @@
kde.enable = false; kde.enable = false;
# cosmic.enable = false; # cosmic.enable = false;
}; };
# FIXME 2025-03-19
# https://github.com/NixOS/nixpkgs/pull/389711
# https://github.com/NixOS/nixpkgs/issues/389620
# Includes the Wi-Fi and Bluetooth firmware for the QCA6390.
hardware.enableRedistributableFirmware = true;
# Requires at least 5.12 for working wi-fi and bluetooth.
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.12")
(lib.mkDefault pkgs.linuxPackages_latest);
# Touchpad goes over i2c.
# Without this we get errors in dmesg on boot and hangs when shutting down.
boot.blacklistedKernelModules = [ "psmouse" ];
# enable finger print sensor.
# this has to be configured with `sudo fprintd-enroll <username>`.
# services.fprintd.enable = true;
# services.fprintd.tod.enable = true;
# services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix;
# Allows for updating firmware via `fwupdmgr`.
services.fwupd.enable = true;
} }