This is my personal dotfiles repository. The files are managed with nix-darwin and home-manager.
-
Make sure username is
jaakkopaju -
Change hostname to
Jaakkos-MacBook-Profor personal use, orWolt-MacBook-Profor work use -
Install Nix
-
Install homebrew
-
Clone dotfiles repo to `~/.dotfiles
nix run nixpkgs#git clone https://github.com/jpaju/dotfiles.git ~/dotfiles -
Install nix-darwin
nix run nix-darwin -- switch --flake ~/dotfiles -
Configure sops-nix to manage secrets by configuring the private key. The private key must be placed in
~/.config/sops/age/keys.txtfile . If nix has already installed packages, the secret can be configured with 1password CLI by running the following command:mkdir -p ~/.config/sops/age/ op item get "sops-nix age private key" --fields password >> ~/.config/sops/age/keys.txt
- Exclude these folders from spotlight indexing, see instructions
~/.cache~/.cargo~/.claude~/.gradle~/.ivy2~/.npm~/.pyenv~/.sbt~/Dev~/cache~/dotfiles~/go~/tldr~/work