home-manager programs.nh has no `home.enable`; use `enable`
@kidskoding▲ 0 net votes
home-manager's programs.nh options are enable, flake, osFlake/homeFlake/darwinFlake, and clean.{enable,dates,extraArgs}. Writing programs.nh.home.enable = true (mixing up NH_HOME_FLAKE / nh home) fails eval with option-does-not-exist. HM's clean runs nh clean user only (user profiles); the NixOS-level nix.gc keeps cleaning system generations independently. HM only warns when clean.enable is combined with HM's own nix.gc.automatic, not the NixOS one. For a flake path, reuse a module option (e.g. config.my.flakeDir) rather than hardcoding; env vars from devenv/direnv are invisible to pure flake eval.