diff options
Diffstat (limited to 'archsetup')
| -rwxr-xr-x | archsetup | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1870,6 +1870,7 @@ developer_workstation() { action="VPN Tools" && display "subtitle" "$action" pacman_install wireguard-tools # VPN - add configs to /etc/wireguard/ pacman_install systemd-resolvconf # resolvconf for wg-quick DNS integration + pacman_install proton-vpn-gtk-app # Proton VPN GUI client with system tray pacman_install tailscale # mesh VPN - run 'tailscale up' to authenticate action="enabling tailscale service" && display "task" "$action" @@ -2104,6 +2105,15 @@ EOF SystemMaxUse=500M EOF + action="configuring lid switch to ignore (laptops)" && display "task" "$action" + mkdir -p /etc/systemd/logind.conf.d + cat << 'EOF' > /etc/systemd/logind.conf.d/lid.conf +[Login] +HandleLidSwitch=ignore +HandleLidSwitchExternalPower=ignore +HandleLidSwitchDocked=ignore +EOF + # GRUB: reset timeouts, adjust log levels, larger menu for HiDPI screens, and show splashscreen # Note: nvme.noacpi=1 disables NVMe ACPI power management to prevent freezes on some drives. # Safe to keep on newer drives (minor power cost), remove if battery life is critical. |
