Files
miasma-os/docs/solarpowered-main/files/solarpowered/usr/share/appends/99-solarpowered.just

19 lines
871 B
Plaintext

# T480s setup in one go
solarpowered-setup:
flatpak install --system flathub --noninteractive --assumeyes com.github.d4nj1.tlpui
rpm-ostree kargs \
--append-if-missing="thinkpad_acpi.fan_control=1" \
--append-if-missing="i915.enable_guc=2" \
--append-if-missing="i915.enable_fbc=1" \
--append-if-missing="sysrq_always_enabled=1" \
--append-if-missing="page_alloc.shuffle=1" \
--append-if-missing="hid_apple.fnmode=0"
sudo systemctl enable zcfan.service
sudo systemctl start python3-validity.service
sudo systemctl start open-fprintd.service
sudo systemctl enable open-fprintd-resume.service open-fprintd-suspend.service open-fprintd.service python3-validity.service
sudo authselect enable-feature with-fingerprint
sudo authselect apply-changes
sudo authselect current
echo 'Remember to reboot!'