I am trying to activate home-manager
by closely following Getting Started with Home Manager | NixOS & Flakes Book, with the following excerpt:
outputs = inputs@{ nixpkgs, home-manager, ... }: {
nixosConfigurations = {
nixos-test = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.ryan = import ./home.nix;
}
];
};
};
};
but when I rebuild NixOS I get the meaningless errors:
- nixos profile: `nixpkgs` options are disabled when `home-manager.useGlobalPkgs` is enabled.
What does that mean? Do I have some local settings applied which do not work with flakes?