Skip to content

Commit

Permalink
feat: Allow tailscale control by default for users in wheel, cleanup …
Browse files Browse the repository at this point in the history
…hhd enabling script
  • Loading branch information
KyleGospo committed Jan 31, 2024
1 parent 84a9e07 commit e693724
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system_files/deck/shared/usr/libexec/bazzite-enable-hhd
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion system_files/desktop/shared/usr/bin/bazzite-user-setup
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

# Enable NTP
timedatectl set-ntp true

# Allow Tailscale Control
tailscale set --operator="$(getent passwd $PKEXEC_UID | cut -d: -f1)"

0 comments on commit e693724

Please sign in to comment.