#!/bin/sh
{
echo deb http://deb.debian.org/debian/ buster-backports main
} > /etc/apt/sources.list.d/backports.list
apt update
apt install rsync
apt install neovim fcitx-mozc
apt install redshift-gtk firefox-esr-l10n-ja
apt install arc-theme papirus-icon-theme breeze-cursor-theme
apt install fonts-ipafont
apt install liferea
apt install gparted
apt install -t buster-backports mpv
systemctl disable apparmor avahi-daemon hddtemp lm-sensors
systemctl list-timers
systemctl disable man-db.timer apt-daily.timer apt-daily-upgrade.timer
cp /etc/pulse/daemon.conf /etc/pulse/daemon.conf.bak
{
echo high-priority = yes
echo nice-level = -11
echo
echo realtime-scheduling = yes
echo realtime-priority = 7
echo
echo default-sample-format = float32le
echo default-sample-rate = 192000
echo alternate-sample-rate = 192000
} > /etc/pulse/daemon.conf
cp /etc/securetty /etc/securetty.bak
> /etc/securetty
cp /etc/hosts.deny /etc/hosts.deny.bak
{
echo ALL:ALL
} > /etc/hosts.deny
cp /etc/hosts.allow /etc/hosts.allow.bak
> /etc/hosts.allow
echo
echo Install Discord from Firefox.