-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use --flake
#110
Comments
Looks like it depends on NixOS/nixpkgs#101475. A workaround for now would be doing something like: {
nixosConfigurations = let
lib = nixpkgs.lib;
in {
machineName = (lib.makeOverridable lib.nixosSystem) {
# ...
};
};
} |
How do you even get so far? Whenever I try to use the --flake option it tells me that the option is not found:
Weirdly enough the error itself seems to be coming from nix. Not nixos-generate... |
You need to make sure |
The NixOS system is now made overridable as a workaround for nixos-generators. See nix-community/nixos-generators#110 for more details.
Can the |
it seems that
nixosConfigurations.<machine>
is not overridable, hence the question is how to use--flake
.The text was updated successfully, but these errors were encountered: