Skip to content

Commit

Permalink
Target commands to regular /etc
Browse files Browse the repository at this point in the history
I assume that `ostree commit` copies these to `/usr/etc` or something?

Unclear how this ever worked in the first place. Something upstream
must have changed... or something. I really don't know.
  • Loading branch information
strugee committed Oct 10, 2024
1 parent 9c5f6e6 commit ed62931
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ flatpak install --noninteractive --system im.riot.Riot com.nextcloud.desktopclie

### Configure system

cat > /usr/etc/gdm/custom.conf <<EOF
cat > /etc/gdm/custom.conf <<EOF
# GDM configuration storage
[daemon]
Expand All @@ -44,15 +44,15 @@ AutomaticLogin=seagloperator
EOF
systemctl enable seagl-reset-users.service

cat > /usr/etc/sudoers.d/10-unconditionally-grant-sudoers <<EOF
cat > /etc/sudoers.d/10-unconditionally-grant-sudoers <<EOF
# Don't bother laptop users with needing to know passwords:
# rooms with laptops are physically secured by UW staff when
# unattended at the venue.
ALL ALL = (ALL) NOPASSWD: ALL
EOF

# https://askubuntu.com/q/1037553/49090, https://askubuntu.com/q/1014965/49090, dconf(7)
cat > /usr/etc/dconf/db/local.d/00-suppress-autosuspend <<EOF
cat > /etc/dconf/db/local.d/00-suppress-autosuspend <<EOF
[org/gnome/settings-daemon/plugins/power]
sleep-inactive-ac-type='nothing'
EOF
Expand All @@ -63,12 +63,12 @@ cd /usr/share/gnome-shell/extensions/appmenu-is-back@fthx
unzip /tmp/appmenu-is-backfthx.v3.shell-extension.zip
cd /usr/share/gnome-shell/extensions/[email protected]
unzip /tmp/grand-theft-focuszalckos.github.com.v7.shell-extension.zip
cat > /usr/etc/dconf/db/local.d/00-gnome-shell-extensions <<EOF
cat > /etc/dconf/db/local.d/00-gnome-shell-extensions <<EOF
[org/gnome/shell]
enabled-extensions=['[email protected]', 'appmenu-is-back@fthx', '[email protected]', '[email protected]']
EOF

cat > /usr/etc/dconf/db/local.d/00-disable-gnome-shell-animations <<EOF
cat > /etc/dconf/db/local.d/00-disable-gnome-shell-animations <<EOF
[org/gnome/desktop/interface]
enable-animations=false
EOF
Expand Down

0 comments on commit ed62931

Please sign in to comment.