Skip to content

Commit

Permalink
Suppress autosuspend
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Oct 10, 2024
1 parent 9c298de commit 513d252
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,13 @@ cat > /usr/etc/sudoers.d/10-unconditionally-grant-sudoers <<EOF
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
[org/gnome/settings-daemon/plugins/power]
sleep-inactive-ac-type='nothing'
EOF

dconf update

# TODO set up Nextcloud, and make sure its data dir is not in ~
# TODO set up OBS

0 comments on commit 513d252

Please sign in to comment.