-
Up until now I have used profiles in the following manner:
Where graphical.hidpi points to a subdirectory of graphical that is not imported by
I put hidpi and gaming into the Edit-3: UnrelatedEdit: Also now getting this error when running `flk switch`:
Edit-2: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The new Now, Those leaves are raked into a nested attribute set according to their place in the folder hierarchy. The general solution to keep the organization primitives that previously where implicitly allowed is to make an implicit common profile explicit by placing it into (in your case) I can't say much about the stack overflow error. At first sight, it seems foreign to |
Beta Was this translation helpful? Give feedback.
The new
rakeLeaves
implementation achieves being more universal than the previous implementation, for example , with slight modifications,rakeLeaves
is being used forhosts
andmodules
, as well. Thus it promotes clarity and reusability. One complaint we had in the past is that the mental model for folder imports has varied too much.Now,
rakeLeaves
recursively walkes through folders and rakes leaves. Leaves are: 1) files ending innix
or 2) folders that contain adefault.nix
file.Those leaves are raked into a nested attribute set according to their place in the folder hierarchy.
The general solution to keep the organization primitives that previously where implicitly allowed is to make …