gpd/win-2: init

This commit is contained in:
necrophcodr
2023-02-12 00:37:34 +01:00
parent 44ae00e02e
commit 1c319687c1
3 changed files with 21 additions and 0 deletions

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";
}