mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01:00
Merge branch 'master' into dell-precision-5570
This commit is contained in:
commit
19b899ead6
7 changed files with 23 additions and 3 deletions
|
|
@ -225,6 +225,7 @@ See code for all available configurations.
|
||||||
| [HP Probook 440G5](hp/probook/440g5) | `<nixos-hardware/hp/probook/440g5>` | `hp-probook-440G5` |
|
| [HP Probook 440G5](hp/probook/440g5) | `<nixos-hardware/hp/probook/440g5>` | `hp-probook-440G5` |
|
||||||
| [Huawei Matebook X Pro (2020)](huawei/machc-wa) | `<nixos-hardware/huawei/machc-wa>` | `huawei-machc-wa` |
|
| [Huawei Matebook X Pro (2020)](huawei/machc-wa) | `<nixos-hardware/huawei/machc-wa>` | `huawei-machc-wa` |
|
||||||
| [i.MX8QuadMax Multisensory Enablement Kit](nxp/imx8qm-mek/) | `<nixos-hardware/nxp/imx8qm-mek>` | `nxp-imx8qm-mek` |
|
| [i.MX8QuadMax Multisensory Enablement Kit](nxp/imx8qm-mek/) | `<nixos-hardware/nxp/imx8qm-mek>` | `nxp-imx8qm-mek` |
|
||||||
|
| [Intel NUC 5i5RYB](intel/nuc/5i5ryb/) | `<nixos-hardware/intel/nuc/5i5ryb>` | `intel-nuc-5i5ryb` |
|
||||||
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` | `intel-nuc-8i7beh` |
|
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` | `intel-nuc-8i7beh` |
|
||||||
| [Lenovo IdeaCentre K330](lenovo/ideacentre/k330) | `<nixos-hardware/lenovo/ideacentre/k330>` | `lenovo-ideacentre-k330` |
|
| [Lenovo IdeaCentre K330](lenovo/ideacentre/k330) | `<nixos-hardware/lenovo/ideacentre/k330>` | `lenovo-ideacentre-k330` |
|
||||||
| [Lenovo IdeaPad 3 15alc6](lenovo/ideapad/15alc6) | `<nixos-hardware/lenovo/ideapad/15alc6>` | `lenovo-ideapad-15alc6` |
|
| [Lenovo IdeaPad 3 15alc6](lenovo/ideapad/15alc6) | `<nixos-hardware/lenovo/ideapad/15alc6>` | `lenovo-ideapad-15alc6` |
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,8 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
p = pkgs.writeScriptBin "charge-upto" ''
|
p = pkgs.writeScriptBin "charge-upto" ''
|
||||||
echo ''${0:-100} > /sys/class/power_supply/BAT?/charge_control_end_threshold
|
#!${pkgs.bash}/bin/bash
|
||||||
|
echo ''${1:-100} > /sys/class/power_supply/BAT?/charge_control_end_threshold
|
||||||
'';
|
'';
|
||||||
cfg = config.hardware.asus.battery;
|
cfg = config.hardware.asus.battery;
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -157,6 +157,7 @@
|
||||||
hp-laptop-14s-dq2024nf = import ./hp/laptop/14s-dq2024nf;
|
hp-laptop-14s-dq2024nf = import ./hp/laptop/14s-dq2024nf;
|
||||||
huawei-machc-wa = import ./huawei/machc-wa;
|
huawei-machc-wa = import ./huawei/machc-wa;
|
||||||
hp-notebook-14-df0023 = import ./hp/notebook/14-df0023;
|
hp-notebook-14-df0023 = import ./hp/notebook/14-df0023;
|
||||||
|
intel-nuc-5i5ryb = import ./intel/nuc/5i5ryb;
|
||||||
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
|
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
|
||||||
lenovo-ideacentre-k330 = import ./lenovo/ideacentre/k330;
|
lenovo-ideacentre-k330 = import ./lenovo/ideacentre/k330;
|
||||||
lenovo-ideapad-14imh9 = import ./lenovo/ideapad/14imh9;
|
lenovo-ideapad-14imh9 = import ./lenovo/ideapad/14imh9;
|
||||||
|
|
|
||||||
|
|
@ -41,4 +41,6 @@
|
||||||
''For Intel NPU support, set the option: hardware.enableRedistributableFirmware = true;''
|
''For Intel NPU support, set the option: hardware.enableRedistributableFirmware = true;''
|
||||||
];
|
];
|
||||||
|
|
||||||
|
hardware.framework.laptop13.audioEnhancement.rawDeviceName =
|
||||||
|
lib.mkDefault "alsa_output.pci-0000_00_1f.3.analog-stereo";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
11
intel/nuc/5i5ryb/default.nix
Normal file
11
intel/nuc/5i5ryb/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../../common/cpu/intel/broadwell
|
||||||
|
../../../common/pc
|
||||||
|
../../../common/pc/ssd
|
||||||
|
];
|
||||||
|
|
||||||
|
services.thermald.enable = lib.mkDefault true;
|
||||||
|
}
|
||||||
|
|
@ -26,6 +26,10 @@
|
||||||
# See https://wiki.archlinux.org/title/Dell_XPS_16_(9640)#Random_freezes
|
# See https://wiki.archlinux.org/title/Dell_XPS_16_(9640)#Random_freezes
|
||||||
"iommu.strict=1"
|
"iommu.strict=1"
|
||||||
"iommu.passthrough=1"
|
"iommu.passthrough=1"
|
||||||
|
|
||||||
|
# Workaround: i915 0000:00:02.0: [drm] *ERROR* [CRTC:82:pipe A] flip_done timed out
|
||||||
|
# See https://github.com/pop-os/pop/issues/3130
|
||||||
|
"i915.dmc_firmware_path=\"\""
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ let
|
||||||
if kernelVersion == "longterm" then
|
if kernelVersion == "longterm" then
|
||||||
"6.12.19"
|
"6.12.19"
|
||||||
else if kernelVersion == "stable" then
|
else if kernelVersion == "stable" then
|
||||||
"6.15.3"
|
"6.15.6"
|
||||||
else
|
else
|
||||||
abort "Invalid kernel version: ${kernelVersion}";
|
abort "Invalid kernel version: ${kernelVersion}";
|
||||||
|
|
||||||
|
|
@ -28,7 +28,7 @@ let
|
||||||
if kernelVersion == "longterm" then
|
if kernelVersion == "longterm" then
|
||||||
"sha256-1zvwV77ARDSxadG2FkGTb30Ml865I6KB8y413U3MZTE="
|
"sha256-1zvwV77ARDSxadG2FkGTb30Ml865I6KB8y413U3MZTE="
|
||||||
else if kernelVersion == "stable" then
|
else if kernelVersion == "stable" then
|
||||||
"sha256-ErUMiZJUONnNc4WgyvycQz5lYqxd8AohiJ/On1SNZbA="
|
"sha256-K7WGyVQnfQcMj99tcnX6qTtIB9m/M1O0kdgUnMoCtPw="
|
||||||
else
|
else
|
||||||
abort "Invalid kernel version: ${kernelVersion}";
|
abort "Invalid kernel version: ${kernelVersion}";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue