summaryrefslogtreecommitdiff
path: root/systems/nixinate.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-09 06:15:30 -0400
committerseth <[email protected]>2024-07-09 15:38:51 -0400
commit626636985bcb038af6bf14830f3f304bbda0c9ad (patch)
tree176c50d6e084664c59bfaf26c4c8901216428bb6 /systems/nixinate.nix
parentdcf455b299342c52d17bf73e1046898094a99adf (diff)
systems+users: link to lib/builders.nix
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;
};
}