Skip to content

Commit

Permalink
tuxedo/aura/15-gen1: migrate renamed option
Browse files Browse the repository at this point in the history
  • Loading branch information
soopyc authored and mergify[bot] committed Nov 6, 2024
1 parent 36ed775 commit 912e5b8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tuxedo/aura/15/gen1/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{lib, ...}: {
{ lib, ... }:
{
imports = [
../../../../common/cpu/amd
../../../../common/pc/laptop
Expand All @@ -9,5 +10,13 @@
services.thermald.enable = lib.mkDefault true;

# keyboard backlight lives in /sys/class/leds/rgb:kbd_backlight
hardware.tuxedo-keyboard.enable = lib.mkDefault true;
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;
};
}

0 comments on commit 912e5b8

Please sign in to comment.