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 committed 2023-06-22 12:59:11 +02:00
1 parent 4823509bb3
commit 087ba202e8
1 file changed
+1
+1
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;