feat: Allow tailscale control by default for users in wheel, cleanup hhd enabling script

This commit is contained in:
Kyle Gospodnetich 2024-01-30 16:16:56 -08:00
parent 84a9e07615
commit e6937241f8
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -2,3 +2,6 @@
# Enable NTP
timedatectl set-ntp true
# Allow Tailscale Control
tailscale set --operator="$(getent passwd $PKEXEC_UID | cut -d: -f1)"