From 8f7c59e10a48c24120dd580b196acd419e5875d0 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Fri, 11 Aug 2023 16:51:35 +0200 Subject: add custom nixinate impl --- nixinate/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 nixinate/default.nix (limited to 'nixinate/default.nix') diff --git a/nixinate/default.nix b/nixinate/default.nix new file mode 100644 index 0000000..26cd4d4 --- /dev/null +++ b/nixinate/default.nix @@ -0,0 +1,18 @@ +# The importApply argument. Use this to reference things defined locally, +# as opposed to the flake where this is imported. +localFlake: + +# Regular module arguments; self, inputs, etc all reference the final user flake, +# where this module was imported. +{ lib, config, self, inputs, ... }: +let + lib = inputs.nixpkgs.lib; + generateApps = import ./generate-apps.nix inputs.nixpkgs; +in +{ + flake = { + }; + perSystem = { system, pkgs, ... }: { + apps = generateApps pkgs self; + }; +} -- cgit v1.2.3