Skip to content

Commit c4399b9

Browse files
authored
Merge pull request #258 from nurelin/micropc
add gpd-micropc
2 parents 936e464 + 72d7bb9 commit c4399b9

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ See code for all available configurations.
9595
| [Dell XPS 15 9500][] | `<nixos-hardware/dell/xps/15-9500>` |
9696
| [Dell XPS 15 9500, nvidia][] | `<nixos-hardware/dell/xps/15-9500/nvidia>` |
9797
| [Google Pixelbook][] | `<nixos-hardware/google/pixelbook>` |
98+
| [GPD MicroPC][] | `<nixos-hardware/gpd/micropc>` |
9899
| [Inverse Path USB armory][] | `<nixos-hardware/inversepath/usbarmory>` |
99100
| Lenovo IdeaPad Z510 | `<nixos-hardware/lenovo/ideapad/z510>` |
100101
| Lenovo ThinkPad E470 | `<nixos-hardware/lenovo/thinkpad/e470>` |
@@ -165,6 +166,7 @@ See code for all available configurations.
165166
[Dell XPS 15 9560, intel only]: dell/xps/15-9560/intel
166167
[Dell XPS 15 9560, nvidia only]: dell/xps/15-9560/nvidia
167168
[Google Pixelbook]: google/pixelbook
169+
[GPD MicroPC]: gpd/micropc
168170
[Inverse Path USB armory]: inversepath/usbarmory
169171
[Lenovo ThinkPad X1 (6th Gen)]: lenovo/thinkpad/x1/6th-gen
170172
[Lenovo ThinkPad X1 (7th Gen)]: lenovo/thinkpad/x1/7th-gen

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
dell-xps-15-9500 = import ./dell/xps/15-9500;
3131
dell-xps-15-9500-nvidia = import ./dell/xps/15-9500/nvidia;
3232
google-pixelbook = import ./google/pixelbook;
33+
gpd-micropc = import ./gpd/micropc;
3334
inversepath-usbarmory = import ./inversepath/usbarmory;
3435
lenovo-ideapad-z510 = import ./lenovo/ideapad/z510;
3536
lenovo-thinkpad-e470 = import ./lenovo/thinkpad/e470;

gpd/micropc/default.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{ ... }:
2+
{
3+
imports = [
4+
../../common/pc/laptop
5+
../../common/pc/laptop/ssd
6+
];
7+
8+
# Needed to have the keyboard working during the initrd sequence
9+
boot.initrd.availableKernelModules = [ "battery" ];
10+
11+
}

0 commit comments

Comments
 (0)