Merge pull request #280 from nix-community/module-default

flake: expose the module as nixosModules.default
This commit is contained in:
Paul Haerle 2023-06-22 13:03:12 +02:00 committed by GitHub
commit 637d87df3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@
forAllSystems = nixpkgs.lib.genAttrs supportedSystems; forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
in in
{ {
nixosModules.default = self.nixosModules.disko; # convention
nixosModules.disko = import ./module.nix; nixosModules.disko = import ./module.nix;
lib = import ./. { lib = import ./. {
inherit (nixpkgs) lib; inherit (nixpkgs) lib;