Skip to content

mhanberg/.dotfiles

Repository files navigation

Open Graph Image

These dotfiles are now managed using Nix on macOS and Linux.

macOS utilizes nix-darwin in order to manage homebrew dependencies, and both macOS and Linux utilize home-manager for dotfiles and nixpkgs.

Getting Started

Install Nix

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Run the installer

nix run github:mhanberg/.dotfiles

Usage

You can see the current tasks by running just --list

 just --list
Available recipes:
    brew            # update homebrew
    fix-shell-files # fix shell files. this happens sometimes with nix-darwin
    flake-update    # update your flake.lock
    hm              # run home-manager switch
    rebuild         # rebuild either nix-darwin or NixOS