mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-21 00:40:01 +00:00
feat: Allow tailscale control by default for users in wheel, cleanup hhd enabling script
This commit is contained in:
parent
84a9e07615
commit
e6937241f8
@ -1,3 +1,3 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
systemctl enable --now hhd@$(systemd-escape $1).service
|
||||
systemctl enable --now hhd@$(systemd-escape "$(getent passwd $PKEXEC_UID | cut -d: -f1)").service
|
||||
|
@ -118,7 +118,7 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegam
|
||||
# HHD Setup
|
||||
if /usr/libexec/hardware/hhd-supported-hardware; then
|
||||
echo 'Enabling HHD'
|
||||
pkexec /usr/libexec/bazzite-enable-hhd "$USER"
|
||||
pkexec /usr/libexec/bazzite-enable-hhd
|
||||
fi
|
||||
|
||||
# SDGyroDSU Setup
|
||||
|
@ -2,3 +2,6 @@
|
||||
|
||||
# Enable NTP
|
||||
timedatectl set-ntp true
|
||||
|
||||
# Allow Tailscale Control
|
||||
tailscale set --operator="$(getent passwd $PKEXEC_UID | cut -d: -f1)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user