flake: expose the module as nixosModules.default

If there is only one module that is getting exported, the convention is
to use that "default" value as the name.
This commit is contained in:
zimbatm 2023-06-22 12:59:09 +02:00
parent 4823509bb3
commit 087ba202e8

View File

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