Replies: 1 comment 1 reply
-
|
I would not provide it in modules. Can you test providing inputs.system-manager.lib.makeSystemConfig {
modules = [
./demo001.nix
];
specialArgs = {
inherit inputs lib;
};
}; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to unite a configuration which contains NixOS hosts and system-manager hosts. For such, I wanted to use a lib with extended attributes.
Currently there is a builder of the sort:
Which is run as a map from the top level flake.
If i try to access the overridden lib functions, it does not work properly.
I also tried to expose the lib via inheriting in
extraSpecialArgsand importing inmodules, which leads to a conflict of top level specifiers:Details
Module
:anon-6' has an unsupported attributeunfix'. This is caused by introducing a top-levelconfig' oroptions' attribute.Is there a simple way to expose it to the SystemConfig?
Beta Was this translation helpful? Give feedback.
All reactions