summaryrefslogtreecommitdiff
path: root/systems/nixinate.nix
diff options
context:
space:
mode:
Diffstat (limited to 'systems/nixinate.nix')
-rw-r--r--systems/nixinate.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/systems/nixinate.nix b/systems/nixinate.nix
index 0c54e9c..b67cea3 100644
--- a/systems/nixinate.nix
+++ b/systems/nixinate.nix
@@ -3,6 +3,10 @@
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;
};
}