chezmoi | ||
.chezmoiroot | ||
.envrc | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
home.nix | ||
README.md |
dotfiles
This is how I manage my workstations. Currently using nix (and nix-darwin).
Install
- Install nix (daemon mode):
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume --daemon
- Install nix-darwin:
nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
./result/bin/darwin-installer
- Add home-manager channel:
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
- Link
./darwin/configuration.nix
to~/.nixpkgs/darwin-configuration.nix
- Run
darwin-rebuild switch