mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-03 06:23:30 +01:00
Compare commits
29
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e903fd796d | ||
|
|
3dac8a8725 | ||
|
|
c006c5a59b | ||
|
|
7dd36b62fc | ||
|
|
26ed7a0d4b | ||
|
|
cd88704818 | ||
|
|
df02f4f16a | ||
|
|
659b41d59c | ||
|
|
9157552825 | ||
|
|
9368056b73 | ||
|
|
547c96d797 | ||
|
|
a872d98539 | ||
|
|
d99ca4e5f4 | ||
|
|
cc66fddc6c | ||
|
|
e792f2f4ac | ||
|
|
5efc6e9418 | ||
|
|
2b75e96d0d | ||
|
|
d1bfa8f6cc | ||
|
|
95ee2804d7 | ||
|
|
8ea54c025e | ||
|
|
9410081079 | ||
|
|
7ced9122cf | ||
|
|
323366c51c | ||
|
|
41f2cad3f9 | ||
|
|
1828627b08 | ||
|
|
497ae1357f | ||
|
|
d2a1b158ac | ||
|
|
3b622ae6e6 | ||
|
|
a724614b86 |
No files matched your search
@@ -223,6 +223,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` |
|
||||||
@@ -406,6 +407,7 @@ See code for all available configurations.
|
|||||||
| [System76 Darter Pro 6](system76/darp6) | `<nixos-hardware/system76/darp6>` | `system76-darp6`|
|
| [System76 Darter Pro 6](system76/darp6) | `<nixos-hardware/system76/darp6>` | `system76-darp6`|
|
||||||
| [System76 Gazelle 18](system76/gaze18) | `<nixos-hardware/system76/gaze18>` | `system76-gaze18`|
|
| [System76 Gazelle 18](system76/gaze18) | `<nixos-hardware/system76/gaze18>` | `system76-gaze18`|
|
||||||
| [System76 Galago Pro 5](system76/galp5-1650) | `<nixos-hardware/system76/galp5-1650>` | `system76-galp5-1650`|
|
| [System76 Galago Pro 5](system76/galp5-1650) | `<nixos-hardware/system76/galp5-1650>` | `system76-galp5-1650`|
|
||||||
|
| [System76 Thelio Mega](system76/thelio-mega) | `<nixos-hardware/system76/thelio-mega>` | `system76-thelio-mega`|
|
||||||
| [Toshiba Chromebook 2 `swanky`](toshiba/swanky) | `<nixos-hardware/toshiba/swanky>` | `toshiba-swanky`|
|
| [Toshiba Chromebook 2 `swanky`](toshiba/swanky) | `<nixos-hardware/toshiba/swanky>` | `toshiba-swanky`|
|
||||||
| [Tuxedo InfinityBook v4](tuxedo/infinitybook/v4) | `<nixos-hardware/tuxedo/infinitybook/v4>` | `tuxedo-infinitybook-v4`|
|
| [Tuxedo InfinityBook v4](tuxedo/infinitybook/v4) | `<nixos-hardware/tuxedo/infinitybook/v4>` | `tuxedo-infinitybook-v4`|
|
||||||
| [TUXEDO Aura 15 - Gen1](tuxedo/aura/15/gen1) | `<nixos-hardware/tuxedo/aura/15/gen1>` | `tuxedo-aura-15-gen1`|
|
| [TUXEDO Aura 15 - Gen1](tuxedo/aura/15/gen1) | `<nixos-hardware/tuxedo/aura/15/gen1>` | `tuxedo-aura-15-gen1`|
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
boot.kernelParams = [
|
|
||||||
"hid_apple.iso_layout=0"
|
|
||||||
];
|
|
||||||
|
|
||||||
hardware.facetimehd.enable = lib.mkDefault (config.nixpkgs.config.allowUnfree or false);
|
hardware.facetimehd.enable = lib.mkDefault (config.nixpkgs.config.allowUnfree or false);
|
||||||
|
|
||||||
services.mbpfan.enable = lib.mkDefault true;
|
services.mbpfan.enable = lib.mkDefault true;
|
||||||
|
|||||||
+2
-1
@@ -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
|
||||||
|
|||||||
@@ -65,6 +65,7 @@
|
|||||||
dell-e7240 = deprecated "1326" "dell-e7240" (import ./dell/e7240);
|
dell-e7240 = deprecated "1326" "dell-e7240" (import ./dell/e7240);
|
||||||
dell-g3-3779 = import ./dell/g3/3779;
|
dell-g3-3779 = import ./dell/g3/3779;
|
||||||
dell-g3-3579 = import ./dell/g3/3579;
|
dell-g3-3579 = import ./dell/g3/3579;
|
||||||
|
dell-inspiron-3442 = import ./dell/inspiron/3442;
|
||||||
dell-inspiron-14-5420 = import ./dell/inspiron/14-5420;
|
dell-inspiron-14-5420 = import ./dell/inspiron/14-5420;
|
||||||
dell-inspiron-5509 = import ./dell/inspiron/5509;
|
dell-inspiron-5509 = import ./dell/inspiron/5509;
|
||||||
dell-inspiron-5515 = import ./dell/inspiron/5515;
|
dell-inspiron-5515 = import ./dell/inspiron/5515;
|
||||||
@@ -132,6 +133,7 @@
|
|||||||
framework-13-7040-amd = import ./framework/13-inch/7040-amd;
|
framework-13-7040-amd = import ./framework/13-inch/7040-amd;
|
||||||
framework-amd-ai-300-series = import ./framework/13-inch/amd-ai-300-series;
|
framework-amd-ai-300-series = import ./framework/13-inch/amd-ai-300-series;
|
||||||
framework-16-7040-amd = import ./framework/16-inch/7040-amd;
|
framework-16-7040-amd = import ./framework/16-inch/7040-amd;
|
||||||
|
framework-desktop-amd-ai-max-300-series = import ./framework/desktop/amd-ai-max-300-series;
|
||||||
friendlyarm-nanopc-t4 = import ./friendlyarm/nanopc-t4;
|
friendlyarm-nanopc-t4 = import ./friendlyarm/nanopc-t4;
|
||||||
friendlyarm-nanopi-r5s = import ./friendlyarm/nanopi-r5s;
|
friendlyarm-nanopi-r5s = import ./friendlyarm/nanopi-r5s;
|
||||||
focus-m2-gen1 = import ./focus/m2/gen1;
|
focus-m2-gen1 = import ./focus/m2/gen1;
|
||||||
@@ -155,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;
|
||||||
@@ -356,6 +359,7 @@
|
|||||||
tuxedo-infinitybook-pro14-gen9-intel = import ./tuxedo/infinitybook/pro14/gen9/intel;
|
tuxedo-infinitybook-pro14-gen9-intel = import ./tuxedo/infinitybook/pro14/gen9/intel;
|
||||||
tuxedo-pulse-14-gen3 = import ./tuxedo/pulse/14/gen3;
|
tuxedo-pulse-14-gen3 = import ./tuxedo/pulse/14/gen3;
|
||||||
tuxedo-pulse-15-gen2 = import ./tuxedo/pulse/15/gen2;
|
tuxedo-pulse-15-gen2 = import ./tuxedo/pulse/15/gen2;
|
||||||
|
xiaomi-redmibook-15-pro-2021 = import ./xiaomi/redmibook/15-pro-2021;
|
||||||
xiaomi-redmibook-16-pro-2024 = import ./xiaomi/redmibook/16-pro-2024;
|
xiaomi-redmibook-16-pro-2024 = import ./xiaomi/redmibook/16-pro-2024;
|
||||||
|
|
||||||
common-cpu-amd = import ./common/cpu/amd;
|
common-cpu-amd = import ./common/cpu/amd;
|
||||||
|
|||||||
@@ -4,4 +4,10 @@
|
|||||||
../common
|
../common
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# If this module isn't built into the kernel, we need to make sure it loads
|
||||||
|
# before soc_button_array. Otherwise the tablet mode gpio doesn't work.
|
||||||
|
# If correctly loaded, dmesg should show
|
||||||
|
# input: gpio-keys as /devices/platform/INT33D3:00
|
||||||
|
boot.initrd.kernelModules = [ "pinctrl_tigerlake" ];
|
||||||
}
|
}
|
||||||
@@ -10,6 +10,13 @@
|
|||||||
../common
|
../common
|
||||||
../common/amd.nix
|
../common/amd.nix
|
||||||
];
|
];
|
||||||
config.hardware.framework.laptop13.audioEnhancement.rawDeviceName =
|
config = {
|
||||||
lib.mkDefault "alsa_output.pci-0000_c1_00.6.analog-stereo";
|
hardware.framework.laptop13.audioEnhancement.rawDeviceName =
|
||||||
|
lib.mkDefault "alsa_output.pci-0000_c1_00.6.analog-stereo";
|
||||||
|
|
||||||
|
# suspend works with 6.15
|
||||||
|
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.15") (
|
||||||
|
lib.mkDefault pkgs.linuxPackages_latest
|
||||||
|
);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
@@ -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";
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
# [Framework Desktop](https://frame.work/desktop)
|
||||||
|
|
||||||
|
## Kernel version
|
||||||
|
|
||||||
|
The recommended version is 6.15 or newer, it has good GPU and also EC firmware support (for sensors and ARGB).
|
||||||
|
The lowest recommended version is 6.14. It has good GPU support already.
|
||||||
|
The absolute lowest that runs okay on headless systems is 6.11, but the GPU is not fully supported yet.
|
||||||
|
|
||||||
|
## Updating Firmware
|
||||||
|
|
||||||
|
First put enable `fwupd`
|
||||||
|
|
||||||
|
```nix
|
||||||
|
services.fwupd.enable = true;
|
||||||
|
```
|
||||||
|
|
||||||
|
Then run
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ fwupdmgr update
|
||||||
|
```
|
||||||
|
|
||||||
|
- [Latest Update](https://fwupd.org/lvfs/devices/work.frame.Desktop.RyzenAIMax300.BIOS.firmware)
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../../common/cpu/amd
|
||||||
|
../../../common/cpu/amd/pstate.nix
|
||||||
|
../../../common/gpu/amd
|
||||||
|
../../../common/pc/ssd
|
||||||
|
../../framework-tool.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# 6.14 and above have good GPU support
|
||||||
|
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.14") (
|
||||||
|
lib.mkDefault pkgs.linuxPackages_latest
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -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}";
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
name = "microsoft-surface-patches-linux-${version}";
|
name = "microsoft-surface-patches-linux-${version}";
|
||||||
patch = null;
|
patch = null;
|
||||||
extraStructuredConfig = with kernel; {
|
structuredExtraConfig = with kernel; {
|
||||||
STAGING_MEDIA = yes;
|
STAGING_MEDIA = yes;
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
name = "microsoft-surface-patches-linux-${version}";
|
name = "microsoft-surface-patches-linux-${version}";
|
||||||
patch = null;
|
patch = null;
|
||||||
extraStructuredConfig = with kernel; {
|
structuredExtraConfig = with kernel; {
|
||||||
STAGING_MEDIA = yes;
|
STAGING_MEDIA = yes;
|
||||||
##
|
##
|
||||||
## Surface Aggregator Module
|
## Surface Aggregator Module
|
||||||
|
|||||||
Reference in new issue
Block a user