1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-27 20:19:45 +01:00
nixos-hardware/gpd/win-2/default.nix

20 lines
513 B
Nix
Raw Normal View History

2023-12-25 21:14:17 +01:00
{ config, lib, ...}:
2023-02-12 00:37:34 +01:00
{
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";
}