diff options
| author | Max Audron <audron@cocaine.farm> | 2023-08-11 16:51:35 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2023-08-11 16:51:35 +0200 |
| commit | 8f7c59e10a48c24120dd580b196acd419e5875d0 (patch) | |
| tree | 57a470c9e726b0e09aede6c8470467f790d77dc8 /nixinate/default.nix | |
| parent | refactor k8s module (diff) | |
add custom nixinate impl
Diffstat (limited to 'nixinate/default.nix')
| -rw-r--r-- | nixinate/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
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; + }; +} |
