From 55ee036fd7ebed24097c8da1ca8a0b0829264670 Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 9 Mar 2024 22:56:01 +0100 Subject: big bang --- nix/lib/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 nix/lib/default.nix (limited to 'nix/lib/default.nix') diff --git a/nix/lib/default.nix b/nix/lib/default.nix new file mode 100644 index 0000000..99a47fc --- /dev/null +++ b/nix/lib/default.nix @@ -0,0 +1,22 @@ +# original: +# https://git.clerie.de/clerie/nixfiles/src/branch/master/lib/default.nix + +inputs: + +let + callLibs = file: import file ({ + inherit lib inputs; + } // inputs); + + lib = { + flake-helper = callLibs ./flake-helper.nix; + inherit ("flake-helper") + generateSystem + mapToNixosConfigurations + mapToDarwinConfigurations + generateDeployRsHost + mapToDeployRsConfiguration + buildHosts; + }; +in + lib -- cgit 1.4.1