Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hdahlheim/.dotfiles

Repository files navigation

Dotfiles

My dotfiles for macOS, managed with Home Manager (nix flakes) and GNU Stow.

Structure

.dotfiles/
├── flake.nix          ← Home Manager flake
├── bootstrap.sh       ← One-command setup
├── home-manager/      ← stow package
│   └── .config/home-manager/home.nix
├── nix/               ← stow package
│   └── .config/nix/nix.conf
└── nvim/              ← stow package
    └── .config/nvim/init.lua

Requirements

  • Nix (installed by bootstrap.sh if missing)

Setup

curl -fsSL https://raw.githubusercontent.com/hdahlheim/.dotfiles/main/bootstrap.sh | bash

Or manually:

# 1. Install Nix (Determinate Systems)
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

# 2. Clone
git clone [email protected]:hdahlheim/.dotfiles.git ~/.dotfiles

# 3. Stow config packages
cd ~/.dotfiles
nix run nixpkgs#stow -- -d ~/.dotfiles -t ~ home-manager nix nvim

# 4. Apply Home Manager config
nix run home-manager -- switch --flake ~/.dotfiles#hd

Day-to-day

Alias Command
hms Apply Home Manager config
hme Edit home.nix
update Update flake inputs and apply
upgrade Upgrade nix itself

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors