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#
| task | command |
|---|---|
| apply changes | home-manager switch |
| update inputs | nix flake update --flake ~/.config/home-manager |
| roll back | home-manager rollback |
| list generations | home-manager generations |