summaryrefslogtreecommitdiff
path: root/systems/nixinate.nix
blob: b67cea38aaff653358f670d739592ee946a91339 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ inputs, self, ... }:
{
  perSystem =
    { system, ... }:
    {
      # as opposed to having system specific outputs like `apps.nixinate.mySystem`
      # we can instantiate this for each system and grab it's final attribute, `nixinate`
      #
      # this lets deployments be as easy as `nix run .#mySystem`
      apps = (inputs.nixinate.nixinate.${system} self).nixinate;
    };
}