# set root passwd from local shell sudo systemd-nspawn -D /var/lib/machines/{$machine} /usr/bin/passwd # do sudo systemd-nspawn -b -D /var/lib/machines/{$machine} to log in as root and do... pacman-key --init pacman-key --populate archlinux useradd -m -G wheel -s /usr/bin/fish brad passwd brad echo 'brad ALL=(ALL) ALL' > /etc/sudoers.d/00_brad edit /etc/locale.gen # https://wiki.archlinux.org/title/Locale locale-gen # do this as root AND as brad systemctl --user enable ssh-agent.service systemctl --user start ssh-agent.service loginctl enable-linger brad # make a tarball of stuff to cp over tar -rvf d.tar .gitconfig .tmux.conf .ssh .gnupg .config/fish .config/nvim bin/pull-git.pl bin/push-git.pl repos/bradclawsie/dotfiles-public/.git/config