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:$ mkdir ~/.config && cd ~/.config && \ git clone https://github.com/Arkham/dotfiles.nix.git nixpkgs && cd nixpkgs
- Run the flake and activate your env:
$ nix run . && home-manager switch -b backup
- Then you can update it with:
$ nix flake update && home-manager switch