mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
chore: format repo using treefmt-nix and nixfmt-rfc-style
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ ... }:
|
||||
{
|
||||
# Fix microphone.
|
||||
# Based on https://github.com/mudkipme/awesome-minisforum-v3/issues/10#issuecomment-2317474057 (Volume control workaround doesn't work on Arch)
|
||||
# Based on https://github.com/mudkipme/awesome-minisforum-v3/issues/10#issuecomment-2317474057 (Volume control workaround doesn't work on Arch)
|
||||
boot.extraModprobeConfig = ''
|
||||
options snd-hda-intel model=alc256-asus-aio
|
||||
'';
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
hardware.sensor.iio.enable = lib.mkDefault true;
|
||||
|
||||
services.fprintd.enable = lib.mkDefault true;
|
||||
|
||||
|
||||
# Override ACPI DSDT to fix the accelerometer.
|
||||
# A driver already exists for a similar sensor.
|
||||
# This overrides the IDs to make the existing driver work.
|
||||
@@ -16,7 +16,7 @@
|
||||
name = "minisforum-acpi-override";
|
||||
CPIO_PATH = "kernel/firmware/acpi";
|
||||
|
||||
src = pkgs.callPackage ./src.nix {};
|
||||
src = pkgs.callPackage ./src.nix { };
|
||||
patches = [ ./dsdt.patch ];
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
|
||||
Reference in New Issue
Block a user