Skip to content

davehughes/dotfiles

Repository files navigation

My stock dev tools and settings loadout, organized via home-manager. Use as you see fit.

Installation:

# if nix/home manager aren't installed:
sh <(curl -L https://nixos.org/nix/install)
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-shell '<home-manager>' -A install

git clone https://github.com/davehughes/dotfiles ~/.config/home-manager
home-manager switch

Layers:

Updating:

nix flake update
hm switch

Recovering:

Because OSX is horrendous dogshit, system upgrades love to overwrite essential sections of the system default rc files, including the bits that we need for home-manager to work. (Re)add the following lines to restore:

# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
  . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •