host/asus: use default brightness value instead

This commit is contained in:
Dmitriy Pleshevskiy 2024-06-15 09:44:41 +03:00
parent e639bcc8f0
commit a67cadfd8d
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -26,6 +26,8 @@
delete_subvolume_recursively "$i" delete_subvolume_recursively "$i"
done done
echo 1 | tee /btrfs_tmp/root/sys/class/leds/asus\:\:kbd_backlight/brightness
btrfs subvolume create /btrfs_tmp/root btrfs subvolume create /btrfs_tmp/root
umount /btrfs_tmp umount /btrfs_tmp
rm -r /btrfs_tmp rm -r /btrfs_tmp
@ -51,7 +53,6 @@
"/etc/ssh/ssh_host_rsa_key.pub" "/etc/ssh/ssh_host_rsa_key.pub"
"/etc/ssh/ssh_host_ed25519_key" "/etc/ssh/ssh_host_ed25519_key"
"/etc/ssh/ssh_host_ed25519_key.pub" "/etc/ssh/ssh_host_ed25519_key.pub"
"/sys/class/leds/asus\:\:kbd_backlight/brightness"
]; ];
}; };
"/persistent/docker" = lib.mkIf config.virtualisation.docker.enable { "/persistent/docker" = lib.mkIf config.virtualisation.docker.enable {