1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-27 20:19:45 +01:00
554: gpd/win-2: init r=Mic92 a=necrophcodr



Co-authored-by: necrophcodr <nc@scalehost.eu>
This commit is contained in:
bors[bot] 2023-02-20 09:40:00 +00:00 committed by GitHub
commit 26c9dbdc92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 0 deletions

View file

@ -122,6 +122,7 @@ See code for all available configurations.
| [FriendlyARM NanoPC-T4](friendlyarm/nanopc-t4) | `<nixos-hardware/friendlyarm/nanopc-t4>` |
| [GPD MicroPC](gpd/micropc) | `<nixos-hardware/gpd/micropc>` |
| [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>` |
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` |
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` |

View file

@ -57,6 +57,7 @@
google-pixelbook = import ./google/pixelbook;
gpd-micropc = import ./gpd/micropc;
gpd-pocket-3 = import ./gpd/pocket-3;
gpd-win-2 = import ./gpd/win-2;
hp-elitebook-2560p = import ./hp/elitebook/2560p;
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
lenovo-ideapad-15arh05 = import ./lenovo/ideapad/15arh05;

19
gpd/win-2/default.nix Normal file
View 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";
}