jpaju / dotfiles

My dotfiles/Nix configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 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
  8. Configure iTerm2

About

My dotfiles/Nix configuration


Languages

Language:Nix 56.4%Language:Shell 35.1%Language:Lua 7.8%Language:Scala 0.8%