From 087ba202e8d2381a8d4f52ff3fc484e10d8b9d8f Mon Sep 17 00:00:00 2001 From: zimbatm Date: Thu, 22 Jun 2023 12:59:09 +0200 Subject: [PATCH] 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. --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 77d8009..c936372 100644 --- a/flake.nix +++ b/flake.nix @@ -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;