mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
19 lines
361 B
Nix
19 lines
361 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib.options) mkOption;
|
|
inherit (lib.types) attrsOf package;
|
|
in {
|
|
options.outputs.packages = mkOption {
|
|
type = attrsOf package;
|
|
default = { };
|
|
};
|
|
|
|
config.outputs.packages = {
|
|
nf-deploy = pkgs.writeShellScriptBin "nf-deploy" ''
|
|
exec ${pkgs.runtimeShell} ${../../ci/deploy.sh} "$@"
|
|
'';
|
|
};
|
|
}
|