Skip to content

pwm/nix-home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Nix + HM = <3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published