Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 640 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 640 Bytes

home.nix

Available machines: feanor, melian (hostname must match).

nix-shell -p git curl

git clone git@github.com:fnune/home.nix.git ~/.home.nix

sudo nixos-rebuild switch --flake ".#$(hostname)"

nix run . -- build --flake ".fausto#$(hostname)"
nix run . -- switch --flake ".fausto#$(hostname)"

After that, you can start using these instead:

sudo nixos-rebuild switch --flake ".#$(hostname)"

home-manager build --flake ".fausto#$(hostname)"
home-manager switch --flake ".fausto#$(hostname)"

Alternatively, you can use nh:

nh os switch
nh home switch