Skip to content

Azd325/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Prerequisites

You need to copy your ssh-keys to the new maschine and correct the file mode.

chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa.pub
chmod 644 ~/.ssh/known_hosts
chmod 755 ~/.ssh

Cloning the dotfiles

cd
mkdir -p .config
cd .config
git clone [email protected]:Azd325/dotfiles.git nixpkgs

Installing determinate nix

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
  sh -s -- install

First install

cd ~/.config/nixpkgs
nix run nix-darwin --extra-experimental-features 'nix-command flakes' -- switch --flake ".#aarch64"
darwin-rebuild switch --flake ".#aarch64"

Update

nix flake update
darwin-rebuild switch --flake ".#aarch64"

Emacs

Install doom-emacs with my configuration

git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install