# as root
pacman -S zsh sudo git openssh
gpasswd -a YOUR_USER_NAME wheel
echo '%wheel ALL=(ALL) ALL' >> /etc/sudoers
# as user
cd $HOME
chsh -s /usr/bin/zsh
git clone --bare --depth 1 --recurse-submodules --shallow-submodules [email protected]:matsp/dotfiles.git $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
dotfiles checkout
dotfiles config --local status.showUntrackedFiles no
dotfiles submodule update --init --recursive
# open new shell or execute:
zsh
export DOTFILES_INJECTED=1
git clone --bare --depth 1 --recurse-submodules --shallow-submodules [email protected]:matsp/dotfiles.git $HOME/.dotfiles
alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
dotfiles checkout
dotfiles config --local status.showUntrackedFiles no
dotfiles submodule update --init --recursive
docker build --build-arg USER=dev -t dotfiles .arch/container
docker run -ti -e DOTFILES_CONTAINER='1' -p 9090:9090 -h dev --name dev dotfiles
docker run -ti -h dev --name dev ghcr.io/matsp/dotfiles:main
cd $HOME
curl -s -o Dockerfile https://raw.githubusercontent.com/matsp/dotfiles/main/.arch/container/local/Dockerfile && docker build -t dev .
docker volume create dev_projects
docker run -ti -e DOTFILES_CONTAINER='1' -p 9090:9090 -h dev --name dev -v dev_projects:/home/dev/projects dev