chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa.pub
chmod 644 ~/.ssh/known_hosts
chmod 755 ~/.ssh
mkdir -p .config/
git clone git@github.com:Azd325/dotfiles.git ∼/.config/nixpkgs
curl -L https://nixos.org/nix/install | sh # restart afterwards
cd ~/.config/nixpkgs
nix --experimental-features 'nix-command flakes' build .#aarch64
./result/sw/bin/darwin-rebuild switch --flake .
nix flake udpate
darwin-rebuild switch --flake ".#aarch64"
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install