Closed noverby closed 11 months ago
Hi, thanks for the report!
This was because the NixOS configuration attribute values have to be the actual configuration value, and above is setting it to a function that returns a configuration.
I have added the ability to configure it like this in 6d00e0f544ddd7849a9104414c5d76cc15adb8a2.
You can now configure it like that as follows:
# nixosConfigurations/system.nix
{inputs, ...}:
inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [];
}
If you do a nix flake lock --update-input flakelight
and try again, it should evaluate. You'll likely have to use inputs.nixpkgs.lib unless your flake has a lib input.
Let me know if this fixes your issue.
Yes, that solves the problem! Thanks!
With the following Nixos Configuration:
I get the following error: