Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.13 KB

readme.md

File metadata and controls

56 lines (40 loc) · 1.13 KB

nix-home

My home environment. Packages are pinned using niv.

Setup/Install

  1. Install Alacritty on the host, which will be configured later from home-manager.

  2. Install Nix:

xcode-select --install
curl -L https://nixos.org/nix/install > nix-install
chmod +x nix-install
./nix-install
nix --version
echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon
  1. Install home-manager:
git clone [email protected]:pwm/nix-home.git ~/nix-home && cd ~/nix-home
bin/hm-install -n <git_name> -e <git_email>
bin/hm-run home-manager switch -b backup

Change config

Do whatever change and then run

hm switch

Update

niv update nixpkgs
niv update home-manager
hm switch

VSCode extensions

Running the following:

vscode-update-extensions

will look at the current extensions used (via code --list-extensions), download their latest version and write it out to home/programs/vscode/extensions.json.

then, as usual, run:

hm switch