Skip to content
/ dotfiles Public

My dotfiles/Nix configuration

Notifications You must be signed in to change notification settings

jpaju/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

437 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Manual steps

  • Exclude these folders from spotlight indexing, see instructions
    • ~/.cache
    • ~/.cargo
    • ~/.claude
    • ~/.gradle
    • ~/.ivy2
    • ~/.npm
    • ~/.pyenv
    • ~/.sbt
    • ~/Dev
    • ~/cache
    • ~/dotfiles
    • ~/go
    • ~/tldr
    • ~/work

About

My dotfiles/Nix configuration

Resources

Stars

Watchers

Forks