1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-26 21:09:42 +01:00
nixos-hardware/tuxedo/aura/15/gen1/default.nix

23 lines
508 B
Nix
Raw Permalink Normal View History

{ lib, ... }:
{
2024-10-10 09:42:41 +02:00
imports = [
../../../../common/cpu/amd
../../../../common/pc/laptop
../../../../common/pc/ssd
];
# Cooling management
services.thermald.enable = lib.mkDefault true;
# keyboard backlight lives in /sys/class/leds/rgb:kbd_backlight
hardware =
if lib.versionAtLeast (lib.versions.majorMinor lib.version) "24.11" then
{
tuxedo-drivers.enable = lib.mkDefault true;
}
else
{
tuxedo-keyboard.enable = lib.mkDefault true;
};
2024-10-10 09:42:41 +02:00
}