oss.zone

nix

home-manager lets you declaratively manage your packages and dotfiles on your oss.zone account, in the NixOS spirit.

setting up#

$ nix run home-manager/master -- init

this creates ~/.config/home-manager/flake.nix and home.nix without activating, so you can edit first.

configuring#

if you have no idea how to use nix and it looks too scary, i recommend taking a look at this helpful guide.

activate#

$ home-manager switch

version control#

you can set up ~/.config/home-manager as a git repo to properly keep track of your changes.

maintenance#

taskcommand
apply changeshome-manager switch
update inputsnix flake update --flake ~/.config/home-manager
roll backhome-manager rollback
list generationshome-manager generations