mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-11-23 02:45:29 +03:00
flake.nix: remove invalid nixosConfigurations
This breaks `nix flake show`. It's not quite clear to me why this is needed in packages.
This commit is contained in:
parent
c239d0de25
commit
a62078b0da
@ -21,15 +21,6 @@
|
||||
--prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ jq coreutils findutils ])}
|
||||
'';
|
||||
};
|
||||
|
||||
# Currently, you need to mark your configurations with makeOverridable in
|
||||
# order to use nixos-generate on them.
|
||||
nixosConfigurations.example = nixpkgs.lib.makeOverridable nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
});
|
||||
defaultPackage = forAllSystems (system: self.packages."${system}".nixos-generators);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user