Dotfiles, powered by Nix and home-manager.
-
Install Nix:
sh <(curl -L https://nixos.org/nix/install)
-
Enable Nix Flakes:
mkdir -p ~/.config/nix cat <<EOF >> ~/.config/nix/nix.conf experimental-features = nix-command flakes EOF sudo launchctl kickstart -k system/org.nixos.nix-daemon
-
Go inside your
~/.config
directory and clone this repo:cd ~/.config && \ git clone https://github.com/behlock/dotfiles.nix.git home-manager && cd home-manager
-
Install home-manager
-
Run the flake and activate your env:
home-manager switch -b backup
-
Then you can update it with:
nix flake update && home-manager switch