#!/bin/sh set -e export DEBIAN_FRONTEND=noninteractive apt-get update apt-get -qq --no-install-recommends install ca-certificates apt-get update apt-get -qq --no-install-recommends install \ linux-image-amd64 \ live-boot \ systemd-sysv # https://wiki.debian.org/it/Keyboard apt-get -qq --no-install-recommends install console-setup locales # Locales locale-gen # Timezone # Older systems #echo "Europe/Rome" > /etc/timezone #dpkg-reconfigure -f noninteractive tzdata # Newer systems ln -fs /usr/share/zoneinfo/Europe/Rome /etc/localtime dpkg-reconfigure -f noninteractive tzdata apt-get -qq --no-install-recommends install $(grep -vE "^\s*#" /srv/apt.list | sed -e 's/#.*//' | tr "\n" " ") apt-get -qq --no-install-recommends install sudo useradd live-user --shell /bin/zsh --create-home --user-group --groups sudo # Configuration # brightnessctl usermod -aG video live-user # pipewire #systemctl enable rtkit systemctl enable tlp systemctl enable thinkfan systemctl disable ssh # systemd rc-local compatibility systemctl enable rc-local apt-get clean su live-user -s /srv/get_dotfiles.sh