From 823a82200c5367f14c56649315c27749153b88e8 Mon Sep 17 00:00:00 2001 From: Matei Dibu Date: Mon, 25 Mar 2024 12:24:34 +0200 Subject: [PATCH 1/2] common/cpu/intel/comet-lake: init --- common/cpu/intel/comet-lake/default.nix | 7 +++++++ flake.nix | 1 + 2 files changed, 8 insertions(+) create mode 100644 common/cpu/intel/comet-lake/default.nix diff --git a/common/cpu/intel/comet-lake/default.nix b/common/cpu/intel/comet-lake/default.nix new file mode 100644 index 0000000..f5dd5ad --- /dev/null +++ b/common/cpu/intel/comet-lake/default.nix @@ -0,0 +1,7 @@ +{ + imports = [ ../. ]; + + boot.kernelParams = [ + "i915.enable_guc=2" + ]; +} diff --git a/flake.nix b/flake.nix index a28d717..fa7fe0b 100644 --- a/flake.nix +++ b/flake.nix @@ -229,6 +229,7 @@ common-cpu-amd-pstate = import ./common/cpu/amd/pstate.nix; common-cpu-amd-raphael-igpu = import ./common/cpu/amd/raphael/igpu.nix; common-cpu-intel = import ./common/cpu/intel; + common-cpu-intel-comet-lake = import ./common/cpu/intel/comet-lake; common-cpu-intel-cpu-only = import ./common/cpu/intel/cpu-only.nix; common-cpu-intel-kaby-lake = import ./common/cpu/intel/kaby-lake; common-cpu-intel-sandy-bridge = import ./common/cpu/intel/sandy-bridge; From adcd458b558915b80f628db7f88450f5f51ebf17 Mon Sep 17 00:00:00 2001 From: Matei Dibu Date: Mon, 25 Mar 2024 12:30:23 +0200 Subject: [PATCH 2/2] protectli/vp4670: init --- README.md | 1 + flake.nix | 1 + protectli/vp4670/default.nix | 9 +++++++++ 3 files changed, 11 insertions(+) create mode 100644 protectli/vp4670/default.nix diff --git a/README.md b/README.md index f4e22b7..9efe12e 100644 --- a/README.md +++ b/README.md @@ -266,6 +266,7 @@ See code for all available configurations. | [PINE64 Pinebook Pro](pine64/pinebook-pro/) | `` | | [PINE64 RockPro64](pine64/rockpro64/) | `` | | [PINE64 STAR64](pine64/star64/) | `` | +| [Protectli VP4670](protectli/vp4670/) | `` | | [Purism Librem 13v3](purism/librem/13v3) | `` | | [Purism Librem 15v3](purism/librem/13v3) | `` | | [Purism Librem 5r4](purism/librem/5r4) | `` | diff --git a/flake.nix b/flake.nix index fa7fe0b..c3a9718 100644 --- a/flake.nix +++ b/flake.nix @@ -204,6 +204,7 @@ pine64-pinebook-pro = import ./pine64/pinebook-pro; pine64-rockpro64 = import ./pine64/rockpro64; pine64-star64 = import ./pine64/star64; + protectli-vp4670 = import ./protectli/vp4670; purism-librem-13v3 = import ./purism/librem/13v3; purism-librem-15v3 = import ./purism/librem/15v3; purism-librem-5r4 = import ./purism/librem/5r4; diff --git a/protectli/vp4670/default.nix b/protectli/vp4670/default.nix new file mode 100644 index 0000000..c3fa036 --- /dev/null +++ b/protectli/vp4670/default.nix @@ -0,0 +1,9 @@ +{ + imports = [ + ../../common/cpu/intel/comet-lake + ]; + + boot.initrd.kernelModules = [ + "sdhci_pci" # 16G eMMC on board + ]; +}