Skip to content

Commit

Permalink
Revert "Try to work around GDM custom.conf not existing"
Browse files Browse the repository at this point in the history
This reverts commit 1b422dd.

This is no longer necessary (and apparently was never correct) since
as of ed62931 we properly write to
/etc.
  • Loading branch information
strugee committed Oct 10, 2024
1 parent ed62931 commit bfdd0a4
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,7 @@ flatpak install --noninteractive --system im.riot.Riot com.nextcloud.desktopclie

### Configure system

cat > /etc/gdm/custom.conf <<EOF
# GDM configuration storage
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=seagloperator
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
EOF
sed -i 's/\[daemon\]/[daemon]\nAutomaticLoginEnable=true\nAutomaticLogin=seagloperator/' /etc/gdm/custom.conf
systemctl enable seagl-reset-users.service

cat > /etc/sudoers.d/10-unconditionally-grant-sudoers <<EOF
Expand Down

0 comments on commit bfdd0a4

Please sign in to comment.