loki | adding tempory overrides whilst fprint build bug active
This commit is contained in:
parent
7614ac5d73
commit
08db1be957
1 changed files with 32 additions and 1 deletions
|
|
@ -1,6 +1,13 @@
|
|||
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||
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
|
||||
# ../disko/nvme.nix
|
||||
../workstation
|
||||
|
|
@ -26,4 +33,28 @@
|
|||
kde.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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue