Skip to content

jpaju/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

This is my personal dotfiles repository. The files are managed with nix-darwin and home-manager.

Fresh install

  1. Make sure username is jaakkopaju

  2. Change hostname to Jaakkos-MacBook-Pro for personal use, or Wolt-MacBook-Pro for work use

  3. Install Nix

  4. Install homebrew

  5. Clone dotfiles repo to `~/.dotfiles

    nix run nixpkgs#git clone https://github.com/jpaju/dotfiles.git ~/dotfiles
  6. Install nix-darwin

    nix run nix-darwin -- switch --flake ~/dotfiles
  7. 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