Skip to content

Commit

Permalink
Feature/power button (#131)
Browse files Browse the repository at this point in the history
i am not writing a changelog. disable gui on boot unless you run `sudo
systemctl start gdm3`. GDM takes over the power button and breaks it,
since we run headless its useless most of the time, so i'm removing it.
  • Loading branch information
karmanyaahm authored Mar 6, 2025
1 parent 3295331 commit 6e479dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/hardware/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ ExecStart=-/sbin/agetty --autologin ghost --keep-baud 115200,57600,38400,9600 %I
EOF
sudo systemctl daemon-reload
sudo systemctl restart [email protected]
sudo systemctl disable --now gdm3
echo "$USER ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/nopasswd-$USER

;;
Expand Down

0 comments on commit 6e479dd

Please sign in to comment.