diff --git a/home/windowManager/i3.nix b/home/windowManager/i3.nix index 37448e0..bbe0471 100644 --- a/home/windowManager/i3.nix +++ b/home/windowManager/i3.nix @@ -11,7 +11,7 @@ let soundSwitcherForHikari2 = if ownLib.onHikari { } then "" else "-D pulse"; keyboardBrightnessDevice = if ownLib.onHikari { } then "--device smc::kbd_backlight" else ""; - displayBrightnessDevice = if ownLib.onHikari { } then "--device mba6x_backlight" else ""; + displayBrightnessDevice = if ownLib.onHikari { } then "--device acpi_video0" else ""; displayBuiltInOutput = if ownLib.onHikari { } then "eDP-1" else "eDP1"; displayDefaults = if ownLib.onHikari { } then "--output ${displayBuiltInOutput} --mode 1366x768 --scale 1.25x1.25" else ""; in { diff --git a/systems/hikari/configuration.nix b/systems/hikari/configuration.nix index fde3e87..9d871fe 100644 --- a/systems/hikari/configuration.nix +++ b/systems/hikari/configuration.nix @@ -34,9 +34,6 @@ keyFile = "/crypto_keyfile.bin"; }; }; - - # NOTE: Keep last kernel as 6.1.15 doesn't work with mba6x_bl, this won't compile - kernelPackages = pkgs.linuxKernel.packages.linux_5_15; }; networking = { @@ -158,11 +155,6 @@ sudo.execWheelOnly = true; }; - services.udev.extraRules = '' - ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="intel_backlight", MODE="0666", RUN+="${pkgs.coreutils}/bin/chmod a+w /sys/class/backlight/%k/brightness" - ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="mba6x_backlight", MODE="0666", RUN+="${pkgs.coreutils}/bin/chmod a+w /sys/class/backlight/%k/brightness" - ''; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave