From 49c3c7d50e5db43b38736d5198f1ffbb9a0100af Mon Sep 17 00:00:00 2001 From: DavHau Date: Wed, 26 Jul 2023 18:23:08 +0200 Subject: [PATCH] writers: export flake-parts module --- flake-parts/modules.nix | 7 +++++++ flake.nix | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 flake-parts/modules.nix diff --git a/flake-parts/modules.nix b/flake-parts/modules.nix new file mode 100644 index 0000000..098af10 --- /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 ec91eb6..a889ed2 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