Skip to content

Help with a lack of logic #313

@filipeltsilva

Description

@filipeltsilva

I'm trying to find a way to consume my modules imported with import-tree without calling the files with ../../... and setting up the hosts with easy-hosts in a different folder. It isn't 100% dendritic in my opinion.

Dogfooding didn't work yet. I'm falling in the infinite recursion error, then I fix it and then I'm falling in another errors. I'm confused about using flake.nixosModules, flake.flakeModules or flake.modules.

The goal is build a multi-system configuration (NixOS, x86_64-darwin and aarch64-darwin in the future) with modules that could be the most generic possible.

Is that possible to do what I want with flake-parts today? What is wrong in my logic? Should I import inputs.flake-parts.flakeModules.modules and inputs.flake-parts.flakeModules.flakeModules or there's a way to do it without importing both of them?

My repo.

Thanks!

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