From a67cadfd8d2b2851aab46305f22bd8dbea68b473 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sat, 15 Jun 2024 09:44:41 +0300 Subject: [PATCH] host/asus: use default brightness value instead --- hosts/asus-gl553vd/configs/imp.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/asus-gl553vd/configs/imp.nix b/hosts/asus-gl553vd/configs/imp.nix index 73048ad..decac3c 100644 --- a/hosts/asus-gl553vd/configs/imp.nix +++ b/hosts/asus-gl553vd/configs/imp.nix @@ -26,6 +26,8 @@ delete_subvolume_recursively "$i" done + echo 1 | tee /btrfs_tmp/root/sys/class/leds/asus\:\:kbd_backlight/brightness + btrfs subvolume create /btrfs_tmp/root umount /btrfs_tmp rm -r /btrfs_tmp @@ -51,7 +53,6 @@ "/etc/ssh/ssh_host_rsa_key.pub" "/etc/ssh/ssh_host_ed25519_key" "/etc/ssh/ssh_host_ed25519_key.pub" - "/sys/class/leds/asus\:\:kbd_backlight/brightness" ]; }; "/persistent/docker" = lib.mkIf config.virtualisation.docker.enable {