From c19bf95e1fd330873accfe5b9d44252fac70e9ae Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Sun, 28 Jan 2024 14:49:19 -0600 Subject: [PATCH] chore: trying to export lib --- flake.nix | 8 +++++++- src/configs/conform.nix | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 5523b5d..32aa492 100644 --- a/flake.nix +++ b/flake.nix @@ -27,8 +27,14 @@ default = self.nixosModules.mfgames-project-setup; }; + # Expose the configuration information. + lib = forEachSupportedSystem ({ system, pkgs }: + let + configs = import ./src/configs/default.nix { inherit system pkgs nixago nixago-exts; }; + in + configs); + # Set up the developer shell. - # Development environments devShells = forEachSupportedSystem ({ system, pkgs }: let configs = import ./src/configs/default.nix { inherit system pkgs nixago nixago-exts; }; diff --git a/src/configs/conform.nix b/src/configs/conform.nix index 8959ce3..188111d 100644 --- a/src/configs/conform.nix +++ b/src/configs/conform.nix @@ -1,7 +1,7 @@ inputs @ { system, nixago, nixago-exts, ... }: nixago-exts.conform.${system} { commit = { - header = { length = 89; }; + header = { length = inputs.pkgs.lib.debug.traceVal 89; }; conventional = { types = [ "build"