Skip to content

Commit

Permalink
treewide: Switch from gpu/intel to cpu/intel where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandapip1 committed Oct 18, 2024
1 parent e83aba0 commit 364e06d
Show file tree
Hide file tree
Showing 35 changed files with 32 additions and 51 deletions.
2 changes: 1 addition & 1 deletion apple/imac/14-2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
imports = [
../.
../../../common/gpu/intel
../../../common/cpu/intel
../../../common/gpu/nvidia
../../../common/gpu/nvidia/kepler
../../../common/hidpi.nix
Expand Down
3 changes: 1 addition & 2 deletions apple/imac/18-2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions apple/macbook-air/3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion apple/macbook-air/4/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
imports = [
../.
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
];

boot.kernelParams = [
Expand Down
3 changes: 1 addition & 2 deletions apple/macbook-pro/14-1/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apple/macbook-pro/8-1/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
imports = [
../.
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/ssd
];

Expand Down
2 changes: 1 addition & 1 deletion asus/zenbook/ux371/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}:
{
imports = [
../../../common/gpu/intel/tiger-lake
../../../common/cpu/intel/tiger-lake
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../../battery.nix
Expand Down
2 changes: 1 addition & 1 deletion dell/inspiron/5509/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, ... }:
{
imports = [
../../../common/gpu/intel/tiger-lake
../../../common/cpu/intel/tiger-lake
../../../common/pc/laptop
../../../common/pc/ssd
];
Expand Down
3 changes: 1 addition & 2 deletions dell/precision/5560/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];

Expand Down
2 changes: 1 addition & 1 deletion dell/precision/7520/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion dell/xps/13-9300/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dell/xps/13-9360/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
imports = [
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop
];

Expand Down
2 changes: 1 addition & 1 deletion dell/xps/13-9370/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
imports = [
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop
../../../common/pc/laptop/acpi_call.nix
];
Expand Down
3 changes: 1 addition & 2 deletions dell/xps/15-9560/default.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions dell/xps/15-9560/intel/default.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions dell/xps/15-9570/default.nix
Original file line number Diff line number Diff line change
@@ -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
];
Expand Down
2 changes: 1 addition & 1 deletion google/pixelbook/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
imports = [
../../common/pc/laptop
../../common/pc/laptop/ssd
../../common/gpu/intel/kaby-lake
../../common/cpu/intel/kaby-lake
];
}
3 changes: 1 addition & 2 deletions gpd/p2-max/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
}
2 changes: 1 addition & 1 deletion hardkernel/odroid-h3/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
imports = [
../../common/gpu/intel/jasper-lake
../../common/cpu/intel/jasper-lake
];
}
3 changes: 1 addition & 2 deletions hp/elitebook/2560p/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions hp/laptop/14s-dq2024nf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions hp/notebook/14-df0023/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions huawei/machc-wa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lenovo/thinkpad/e470/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
imports = [
../.
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/maxwell
];
Expand Down
2 changes: 1 addition & 1 deletion lenovo/thinkpad/l480/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
imports = [
../.
../../../common/gpu/intel/kaby-lake
../../../common/cpu/intel/kaby-lake
../../../common/pc/laptop/ssd
];

Expand Down
3 changes: 1 addition & 2 deletions lenovo/thinkpad/p51/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
../.
];
Expand Down
2 changes: 1 addition & 1 deletion lenovo/thinkpad/t420/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
imports = [
../.
../tp-smapi.nix
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/acpi_call.nix
];
}
1 change: 0 additions & 1 deletion lenovo/thinkpad/t480s/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel
../../../common/pc/laptop/acpi_call.nix
../../../common/pc/ssd
../.
Expand Down
2 changes: 1 addition & 1 deletion lenovo/thinkpad/t520/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
imports = [
../.
../tp-smapi.nix
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/acpi_call.nix
];
}
2 changes: 1 addition & 1 deletion lenovo/thinkpad/w520/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
imports = [
../.
../tp-smapi.nix
../../../common/gpu/intel/sandy-bridge
../../../common/cpu/intel/sandy-bridge
../../../common/pc/laptop/acpi_call.nix
];
}
2 changes: 1 addition & 1 deletion lenovo/thinkpad/x220/default.nix
Original file line number Diff line number Diff line change
@@ -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
];
Expand Down
1 change: 0 additions & 1 deletion malibal/aon/s1/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

../../../common/cpu/intel

../../../common/gpu/intel
../../../common/gpu/nvidia/disable.nix
];

Expand Down
3 changes: 1 addition & 2 deletions microsoft/surface/surface-go/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
3 changes: 1 addition & 2 deletions msi/gl65/10SDR-492/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion protectli/vp4670/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
imports = [
../../common/gpu/intel/comet-lake
../../common/cpu/intel/comet-lake
];

boot.initrd.kernelModules = [
Expand Down

0 comments on commit 364e06d

Please sign in to comment.