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-Pro
for personal use, orWolt-MacBook-Pro
for 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.txt
file . 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