Skip to content

Help needed with understanding standalone vs nixos module for home-manager #116

@ecribia

Description

@ecribia

Hi. I've read the docs and searched for an answer here on github, but i dont really understand how blueprint handles home-manager.

Users are also standalone Home Manager configurations. A user defined as hosts/pc1/users/max.nix can be applied using the home-manager CLI as .#max@pc1

If home-manager is an input to the flake, each host with any users defined will have the appropriate home-manager module imported and each user created automatically

So if I create hosts/pc1/users/max.nix, will that be treated as a standalone home-manager exclusively? And in the second case with the home-manager imported inside of flake.nix, it will create a nixos module for each user?

Sorry I am a bit confused on how this works in blueprint. I've only worked with vanilla flakes before.

For my specific use case, i need some machines to be a nixos module, and some standalone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions