Skip to content

SimonTheLeg/dotfiles

Repository files navigation

Collection of dotfiles and other settings

One time setup

  1. Install nix. Note for future Simon: With nix 2.4 this feature will be moved upstream
sh <(curl https://abathur-nix-install-tests.cachix.org/serve/yihf8zbs0jwph2rs9qfh80dnilijxdi2/install) --tarball-url-prefix https://abathur-nix-install-tests.cachix.org/serve

For each user on the system one time

  1. Clone the repository into ~/simontheleg/
git clone git@github.com:SimonTheLeg/dotfiles.git ~/simontheleg/dotfiles
  1. Add a channel as nixpkgs. This is mainly to make home-manager happy. It does not server any further purpose, as all channels used are pinned in home.nix:
nix-channel --add https://channels.nixos.org/nixos-21.11 nixpkgs
nix-channel --update
  1. Symlink home manager config and Install Home Manager
mkdir -p ${HOME}/.config/nixpkgs/
ln -s -f ~/simontheleg/dotfiles/home.nix ${HOME}/.config/nixpkgs/home.nix
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
nix-shell '<home-manager>' -A install
  1. Start home-manager environment generation
home-manager switch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published