mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
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:
parent
4823509bb3
commit
087ba202e8
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue