Skip to content

Question: using the example flake w/ home manager #385

@flpvsk

Description

@flpvsk

Hello, I am able to run the example flake, but can't figure out how to integrate it into an existing setup with home manager. My config is esentially this template with slight changes: https://github.com/dustinlyons/nixos-config/tree/main/templates/starter

The way I understand it, I'd need to

  • Copy the example flake directory somewhere within the nix configuration dir;
  • Import the flake by path and use one of the flake's outputs in home manager.

Is that the case?

Disclaimer:

Sorry, I'm new to nix, I've read through the docs and tried a few things but no luck.

Also, if GH is not the place to ask these kind of noob questions, please feel free to close the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions