Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1.07 KB

README.md

File metadata and controls

22 lines (19 loc) · 1.07 KB

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