aboutsummaryrefslogtreecommitdiff
path: root/nixinate/default.nix
blob: 26cd4d4162a8a5c8fee90ef1c53a53ed68ace3da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
  };
}