configs, scripts, quality of life
This is everything to set up my workstation. All that needs to be done is renaming the secrets-template.nix
to secrets.nix
and fill out the variables.
Afterwards only a single command is needed to set it up:
nixos-install
The dotfiles setup is based on the concept from jaagr. Basically everything is managed with a git repository and the dots
alias.
alias dots='git --git-dir=$HOME/.dots/ --work-tree=$HOME'
git init --bare $HOME/.dots
dots remote add origin https://github.com/Algram/dots.git
dots config status.showUntrackedFiles no
# Use the dots alias like you would use the git command
dots status
dots add --update ...
dots commit -m "..."
dots push
# Listing files (tracked by git)
dots ls-files
dots ls-files .config/polybar/
git clone --recursive --separate-git-dir=$HOME/.dots https://github.com/Algram/dots.git /tmp/dots
rsync -rvl --exclude ".git" /tmp/dots/ $HOME/
rm -r /tmp/dots
dots submodule update --init --recursive $HOME/