Skip to content

joshuapjacob/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

These are my personal dotfiles, managed with Nix flakes for a reproducible setup. I use Nix-darwin on macOS with Homebrew integration, and GNU Stow to handle symlinking of config files.

The hostname of my MacBook is stygian.

Install

# Install nix through the Determinate nix installer.
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate

# Clone the dotfiles.
git clone https://github.com/joshuapjacob/dotfiles
cd dotfiles

# Install the nix-darwin flake.
sudo nix run nix-darwin/master#darwin-rebuild -- switch --flake .config/nix#stygian

# Symlink all dotfiles with stow.
stow .

Update

# Update the flake.
sudo nix flake update --flake .config/nix

# Switch to updated flake.
sudo darwin-rebuild switch --flake .config/nix#stygian

Clean

nix-collect-garbage -d

About

I used to use Arch, btw.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published