/dotfiles

~

Primary LanguageNix

Local:

nix run . -- switch --flake .

Installation on MacOS

  1. Install Nix
    curl -L https://nixos.org/nix/install | sh
  2. Enable flakes and nix-command
    mkdir -p $HOME/.config/nix/ && echo "experimental-features = flakes nix-command" >> $HOME/.config/nix/nix.conf
  3. Install home-manager
    nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager
    nix-channel --update
    nix-shell '<home-manager>' -A install
  4. Build and activate this configuration
    home-manager switch --flake github:kkoenig/dotfiles2