Skip to content

Repository files navigation

.dotfiles

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 with the new official nix-installer

# if on a mac
xcode-select --install
curl -sSfL https://artifacts.nixos.org/nix-installer | sh -s -- install --enable-flakes

Run the installer

nix run github:mhanberg/.dotfiles

Usage

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

$ just --list
Available recipes:
    default
    fix-shell-files # fix shell files. this happens sometimes with nix-darwin
    hm              # run home-manager switch
    news
    rebuild         # rebuild nix darwin
    update          # updates brew, flake, and runs home-manager
    update-brew     # update and upgrade homebrew packages
    update-flake    # update your flake.lock

About

My dotfiles

Resources

Stars

82 stars

Watchers

3 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages