/dotfiles

Declarative system configurations for my NixOS machines

Primary LanguageNixMIT LicenseMIT

dotfiles

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 "git@github.com:gmarmstrong/dotfiles" "$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