From 3287cde1d08ec8c828a5dbb7e33d949a04b64217 Mon Sep 17 00:00:00 2001 From: enc0urage <127197575+enc0urage@users.noreply.github.com> Date: Fri, 17 Mar 2023 07:50:53 +0000 Subject: [PATCH] gpd/p2-max: init --- README.md | 1 + flake.nix | 1 + gpd/p2-max/default.nix | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 gpd/p2-max/default.nix diff --git a/README.md b/README.md index f5f2517..0ee926a 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,7 @@ See code for all available configurations. | [Framework 12th Gen Intel Core](framework/12th-gen-intel) | `` | | [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `` | | [GPD MicroPC](gpd/micropc) | `` | +| [GPD P2 Max](gpd/p2-max) | `` | | [GPD Pocket 3](gpd/pocket-3) | `` | | [GPD WIN 2](gpd/win-2) | `` | | [Google Pixelbook](google/pixelbook) | `` | diff --git a/flake.nix b/flake.nix index 4e01a11..c5a9a45 100644 --- a/flake.nix +++ b/flake.nix @@ -57,6 +57,7 @@ friendlyarm-nanopc-t4 = import ./friendlyarm/nanopc-t4; google-pixelbook = import ./google/pixelbook; gpd-micropc = import ./gpd/micropc; + gpd-p2-max = import ./gpd/p2-max; gpd-pocket-3 = import ./gpd/pocket-3; gpd-win-2 = import ./gpd/win-2; hp-elitebook-2560p = import ./hp/elitebook/2560p; diff --git a/gpd/p2-max/default.nix b/gpd/p2-max/default.nix new file mode 100644 index 0000000..e2587a7 --- /dev/null +++ b/gpd/p2-max/default.nix @@ -0,0 +1,11 @@ +{lib, ...}: { + imports = [ + ../../common/pc/laptop + ../../common/pc/laptop/ssd + ../../common/cpu/intel + ../../common/cpu/intel/kaby-lake + ]; + + # HiDPI settings + hardware.video.hidpi.enable = lib.mkDefault true; +}