The objective is to use home-manager
to manage my dotfiles. Let's hope this time I don't end up with a broken management system in a few months.
I use nushell
as my primary shell but I do not set it as the default shell for my user (no chsh
) to avoid issues with programs that expect the default shell to be bash
-like. I simply launch nushell
from the .bashrc
or .zshrc
in interactive mode.
Anyway, onwards to the installation:
## Initial install
./dotfiles.sh initial-setup
## OPEN A NEW TERMINAL
## Install everything
sudo -E ./dotfiles.sh update
## Secondary setup, after installing the requirement just above
./dotfiles.sh secondary-setup
## Generate new SSH keys for authentication and signing
#
# Add to GitHub: <https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account>
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -C "COMMENT"
ssh-keygen -t ed25519 -f ~/.ssh/id_si
5EBB
gning -C "COMMENT - Signing"
ssh-agent -s
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
ssh-add --apple-use-keychain ~/.ssh/id_signing
## Sync Atuin
#
# Docs: <https://docs.atuin.sh/guide/sync/#login>
atuin login -u "<USER>"
atuin sync -f
- Connect Matrix account