summaryrefslogtreecommitdiff
path: root/nspawn/post-install.txt
blob: a703e0f439048056ef6ce0f0629f23acf38292ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# set root passwd
systemd-nspawn -D /var/lib/machines/{$machine} /usr/bin/passwd
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 locale.gen # https://wiki.archlinux.org/title/Locale
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 repos/bradclawsie/dotfiles-public/.git/config