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 Dashlane CLI (dcli) by running the following command:mkdir -p ~/.config/sops/age/ dcli read "dl://sops-nix age private key/password" >> ~/.config/sops/age/keys.txt