diff --git a/flake-parts/modules.nix b/flake-parts/modules.nix new file mode 100644 index 000000000..098af10bc --- /dev/null +++ b/flake-parts/modules.nix @@ -0,0 +1,7 @@ +# export some of our flake moduels for re-use in other projects +{ ... +}: { + flake.modules.flake-parts = { + writers = ./writers; + }; +} diff --git a/flake.nix b/flake.nix index ec91eb68f..a889ed2b8 100644 --- a/flake.nix +++ b/flake.nix @@ -18,8 +18,9 @@ "aarch64-linux" ]; imports = [ - ./flake-parts/packages.nix ./flake-parts/formatting.nix + ./flake-parts/modules.nix + ./flake-parts/packages.nix ./flake-parts/writers ./templates/flake-module.nix ./templates/python-project/flake-module.nix