home-mangler
is a Nix Flakes home directory management tool.
home-mangler
is configured with a Nix Flake in ~/.config/home-mangler/flake.nix
:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
home-mangler.url = "github:home-mangler/home-mangler";
};
outputs = {
self,
nixpkgs,
home-mangler,
}: {
home-mangler = {
your-hostname = let
pkgs = nixpkgs.legacyPackages.aarch64-darwin;
home-mangler-lib = home-mangler.lib.aarch64-darwin;
in
home-mangler-lib.makeConfiguration {
packages = [
pkgs.broot
];
};
};
};
}
-
home-mangler
can manage your Nix profile by keeping a set of packages installed:Installing new packages Updated `nix profile`: - /nix/store/vwdgac9hifbssmw8hfkvm777pmc04pwh-home-mangler-packages + /nix/store/l1br3isl9pnhgg4rsazmrn436rhxiyd9-home-mangler-packages