nixos-config/pkgs/deploy/default.nix
2023-11-27 22:54:41 -05:00

9 lines
179 B
Nix

{ nixos-rebuild
, python3
, writeShellScriptBin
}:
writeShellScriptBin "deploy" ''
export PATH="$PATH:${nixos-rebuild}/bin"
exec ${python3}/bin/python ${./deploy.py} "$@"
''