dotfiles.nix
dotfiles.nix copied to clipboard
Dotfiles super-powered by Nix and home-manager
Dotfiles.nix
Dotfiles, powered by Nix and home-manager.
How to use
- 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
~/.configdirectory 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