1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-22 19:09:42 +01:00

treewide: Switch from gpu/intel to cpu/intel where applicable

This commit is contained in:
Gavin John 2024-10-10 10:04:47 -07:00 committed by mergify[bot]
parent c058019ce1
commit 7495e87753
35 changed files with 32 additions and 51 deletions

View file

@ -7,7 +7,7 @@
{
imports = [
../.
../../../common/gpu/intel
../../../common/cpu/intel
../../../common/gpu/nvidia
../../../common/gpu/nvidia/kepler
../../../common/hidpi.nix

View file

@ -6,8 +6,7 @@
}: {
imports = [
../.
../../../common/gpu/intel/kaby-lake
../../../common/gpu/intel
../../../common/cpu/intel/kaby-lake
../../../common/gpu/amd
../../../common/hidpi.nix
../../../common/pc/laptop/ssd

View file

@ -3,13 +3,11 @@
{
imports = [
../../.
../../../common/cpu/intel
../../../common/pc/laptop
../../../common/pc/ssd
];
# Built-in iSight is recognized by the generic uvcvideo kernel module
hardware.facetimehd.enable = false;
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -3,7 +3,7 @@
{
imports = [
../.
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
];
boot.kernelParams = [

View file

@ -6,8 +6,7 @@
}: {
imports = [
../.
../../../common/gpu/intel/kaby-lake
../../../common/gpu/intel
../../../common/cpu/intel/kaby-lake
../../../common/hidpi.nix
../../../common/pc/laptop/ssd
../../../common/pc/laptop/acpi_call.nix

View file

@ -3,7 +3,7 @@
{
imports = [
../.
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/ssd
];

View file

@ -5,7 +5,7 @@
}:
{
imports = [
../../../common/gpu/intel/tiger-lake
../../../common/cpu/intel/tiger-lake
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../../battery.nix

View file

@ -1,7 +1,7 @@
{ lib, ... }:
{
imports = [
../../../common/gpu/intel/tiger-lake
../../../common/cpu/intel/tiger-lake
../../../common/pc/laptop
../../../common/pc/ssd
];

View file

@ -3,8 +3,7 @@
imports = [
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../../../common/cpu/intel
../../../common/gpu/intel/tiger-lake
../../../common/cpu/intel/tiger-lake
../../../common/gpu/nvidia/turing
];

View file

@ -4,7 +4,7 @@
...
}: {
imports = [
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../../../common/gpu/nvidia

View file

@ -6,7 +6,6 @@ let
in {
imports = [
../../../common/cpu/intel
../../../common/gpu/intel
../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/ssd

View file

@ -1,6 +1,6 @@
{
imports = [
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop
];

View file

@ -2,7 +2,7 @@
{
imports = [
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
];

View file

@ -1,7 +1,6 @@
{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop
./xps-common.nix
../../../common/gpu/nvidia

View file

@ -1,7 +1,6 @@
{
imports = [
../../../../common/cpu/intel
../../../../common/gpu/intel/kaby-lake
../../../../common/cpu/intel/kaby-lake
../../../../common/pc/laptop
../../../../common/gpu/nvidia/disable.nix
../xps-common.nix

View file

@ -1,8 +1,7 @@
{ lib, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop
./xps-common.nix
];

View file

@ -4,6 +4,6 @@
imports = [
../../common/pc/laptop
../../common/pc/laptop/ssd
../../common/gpu/intel/kaby-lake
../../common/cpu/intel/kaby-lake
];
}

View file

@ -2,8 +2,7 @@
imports = [
../../common/pc/laptop
../../common/pc/laptop/ssd
../../common/cpu/intel
../../common/gpu/intel/kaby-lake
../../common/cpu/intel/kaby-lake
../../common/hidpi.nix
];
}

View file

@ -1,5 +1,5 @@
{
imports = [
../../common/gpu/intel/jasper-lake
../../common/cpu/intel/jasper-lake
];
}

View file

@ -2,8 +2,7 @@
with lib;
{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc
../../../common/pc/laptop
../../../common/pc/laptop/hdd

View file

@ -2,8 +2,7 @@
{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel/tiger-lake
../../../common/cpu/intel/tiger-lake
../../../common/pc
../../../common/pc/laptop
../../../common/pc/laptop/ssd

View file

@ -2,8 +2,7 @@
with lib;
{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc
../../../common/pc/laptop
../../../common/pc/laptop/hdd

View file

@ -5,8 +5,7 @@
...
}: {
imports = [
../../common/cpu/intel
../../common/gpu/intel/comet-lake
../../common/cpu/intel/comet-lake
../../common/gpu/nvidia
../../common/gpu/nvidia/prime.nix
../../common/hidpi.nix

View file

@ -3,7 +3,7 @@
{
imports = [
../.
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/maxwell
];

View file

@ -2,7 +2,7 @@
{
imports = [
../.
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop/ssd
];

View file

@ -3,8 +3,7 @@
../../../common/gpu/24.05-compat.nix
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/maxwell
../../../common/cpu/intel
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop/acpi_call.nix
../.
];

View file

@ -2,7 +2,7 @@
imports = [
../.
../tp-smapi.nix
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/acpi_call.nix
];
}

View file

@ -3,7 +3,6 @@
{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/ssd
../.

View file

@ -2,7 +2,7 @@
imports = [
../.
../tp-smapi.nix
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/acpi_call.nix
];
}

View file

@ -2,7 +2,7 @@
imports = [
../.
../tp-smapi.nix
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/acpi_call.nix
];
}

View file

@ -1,7 +1,7 @@
{
imports = [
../.
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/hdd # TODO: reverse compat
../tp-smapi.nix
];

View file

@ -7,7 +7,6 @@
../../../common/cpu/intel
../../../common/gpu/intel
../../../common/gpu/nvidia/disable.nix
];

View file

@ -13,8 +13,7 @@ in {
../../../common/pc
../../../common/pc/ssd
# The Intel CPU module auto-includes Intel's GPU:
../../../common/cpu/intel
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
];
boot.kernelParams = [

View file

@ -3,8 +3,7 @@
{
imports = [
../../../common/pc/laptop/ssd
../../../common/cpu/intel
../../../common/gpu/intel/comet-lake
../../../common/cpu/intel/comet-lake
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/turing
../../../common/pc/laptop

View file

@ -1,6 +1,6 @@
{
imports = [
../../common/gpu/intel/comet-lake
../../common/cpu/intel/comet-lake
];
boot.initrd.kernelModules = [