Filipe Lemos

Results comments of Filipe Lemos

> Looks like you are missing this flake-parts [installation step](https://flake.parts/options/flake-parts-modules.html#installation), which enables the `flake.modules` option. I enabled them [here](https://github.com/filipeltsilva/nixfiles/blob/main/modules/flake/flake-parts.nix).

My goal is set up a host as a module, like I saw in many configs, and call it through the easy-hosts library or similar way. I want the host...

I renamed the modules according the dendritic pattern because I had overdoing in these specifications. I had to use the nixos class for modules I didn't want (/modules/core) because it...

I think the source of the error above is in the /hosts/sandbox/hardware-configuration.nix. If I remove the flake.modules implementation, I get the infinite recursion error.

I'm passing pkgs as a parameter when I need it, but the modules aren't reckonizing. If I remove all my pkgs parameters in a host implementation I don' t have...

> Access pkgs like this: > > ``` > flake.modules.nixos.foo = { pkgs, ... }: { > > } > ``` I already tried it but it didn't work. But...

Thank you for the orientation, @abeldekat! I'll close the issue and ask there.

Tudo bem! Vou seguir o conselho de manter os arquivos.

@fdaciuk, entendo! Então vou alterar para a sua correção. Obrigado.

@fdaciuk e @pauloregis, de fato utilizei a versão 2, que na época dos vídeos ainda estava em beta, se não me engano. Vou fazer os testes com a v1 e...