Closed sedrubal closed 10 months ago
You also need to import the module
imports = [
inputs.kde2nix.nixosModules.default
];
Thanks for your quick answer. However, sorry for asking again, but now I get error: undefined variable 'inputs'
. How do I get the variable inputs
?
Pass the inputs
to specialArgs in your flake.nix
specialArgs = { inherit inputs; };
and add inputs
to the list of arguments at the top of your configuration.nix.
Alternatively you can also just import the module directly in the flake.nix.
Thank you, now it works.
This might be a stupid question, but I'm new to nix. The README says:
I added this to my
flake.nix
:And this to my
configuration.nix
:But while rebuilding, I get this error:
Am I missing something? Thank you!