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