jameshaydon / nix-home

Nix + HM = <3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nix-home

My home environment.

Packages are pinned using niv, which generates/updates the content of the nix directory.

Prereq

Install

I'm using my user pwm in the 2nd command, replace it with yours for your setup :)

$ nix-shell -p git --run 'git@github.com:pwm/nix-home.git ~/nix-home'
$ echo "import ~/nix-home/home.nix \"pwm\"" > ~/.config/nixpkgs/home.nix
$ home-manager switch

Update

$ cd ~/nix-home
$ niv update
$ hm switch

Note: hm is alias for run home-manager where run is a small wrapper script to pass home-manager the updated NIX_PATH after a niv update.

Missing from nixpkgs:

  • assume-role
  • saw

JAMES TODO:

  • Shouldn't install clojure/clojure-lsp/leinengen globally, make nix setup for projects that need it.
  • clojure-lsp not working

About

Nix + HM = <3


Languages

Language:Nix 96.2%Language:Shell 3.8%