Configuration for NixOS systems
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is my dotfiles repository. It describes my NixOS personal computers. There are many like it, but this one is mine. You won't want to clone this whole repository, but feel free to explore and borrow what you like!

Installation on NixOS

  1. Install Git with nix-env -i git
  2. Clone these dotfiles with git clone "" "$HOME/dotfiles"
  3. Back up system configuration with sudo mv /etc/nixos /etc/nixos.bak
  4. Symlink the system configuration with sudo ln -s "$HOME/dotfiles/nixos" "/etc"
  5. Apply the system configuration with sudo nixos-rebuild switch
  6. Symlink the user configuration with ln -s "$HOME/dotfiles/nixpkgs/home.nix" "$HOME/.config/nixpkgs/home.nix"
  7. Install home-manager with nix-shell "$HOME/dotfiles/resources/home-manager" -A install
  8. Apply the home configuration with home-manager switch

Routine maintenance

  1. Update dotfiles with cd "$HOME/dotfiles" && git pull
  2. Update submodules with git submodule foreach git pull
  3. Upgrade system with sudo nixos-rebuild switch --upgrade
  4. Upgrade user environment with home-manager switch --upgrade
  5. Upgrade Neovim plugins with nvim +PlugUpgrade +PlugUpdate +qall