mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
Merge #554
554: gpd/win-2: init r=Mic92 a=necrophcodr Co-authored-by: necrophcodr <nc@scalehost.eu>
This commit is contained in:
commit
26c9dbdc92
3 changed files with 21 additions and 0 deletions
|
@ -122,6 +122,7 @@ See code for all available configurations.
|
||||||
| [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `<nixos-hardware/friendlyarm/nanopc-t4>` |
|
| [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `<nixos-hardware/friendlyarm/nanopc-t4>` |
|
||||||
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` |
|
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` |
|
||||||
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` |
|
| [GPD Pocket 3](gpd/pocket-3) | `<nixos-hardware/gpd/pocket-3>` |
|
||||||
|
| [GPD WIN 2](gpd/win-2) | `<nixos-hardware/gpd/win-2>` |
|
||||||
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` |
|
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` |
|
||||||
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` |
|
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` |
|
||||||
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` |
|
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` |
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
google-pixelbook = import ./google/pixelbook;
|
google-pixelbook = import ./google/pixelbook;
|
||||||
gpd-micropc = import ./gpd/micropc;
|
gpd-micropc = import ./gpd/micropc;
|
||||||
gpd-pocket-3 = import ./gpd/pocket-3;
|
gpd-pocket-3 = import ./gpd/pocket-3;
|
||||||
|
gpd-win-2 = import ./gpd/win-2;
|
||||||
hp-elitebook-2560p = import ./hp/elitebook/2560p;
|
hp-elitebook-2560p = import ./hp/elitebook/2560p;
|
||||||
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
|
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
|
||||||
lenovo-ideapad-15arh05 = import ./lenovo/ideapad/15arh05;
|
lenovo-ideapad-15arh05 = import ./lenovo/ideapad/15arh05;
|
||||||
|
|
19
gpd/win-2/default.nix
Normal file
19
gpd/win-2/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ config, lib, pkgs, ...}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../common/cpu/intel
|
||||||
|
../../common/pc/ssd
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.kernelParams = [
|
||||||
|
"fbcon=rotate:1"
|
||||||
|
"video=eDP-1:panel_orientation=right_side_up"
|
||||||
|
];
|
||||||
|
|
||||||
|
services.tlp.enable = lib.mkDefault ((lib.versionOlder (lib.versions.majorMinor lib.version) "21.05")
|
||||||
|
|| !config.services.power-profiles-daemon.enable);
|
||||||
|
|
||||||
|
# Required for grub to properly display the boot menu.
|
||||||
|
boot.loader.grub.gfxmodeEfi = lib.mkDefault "720x1280x32";
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue