mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
9 lines
179 B
Nix
9 lines
179 B
Nix
{ nixos-rebuild
|
|
, python3
|
|
, writeShellScriptBin
|
|
}:
|
|
|
|
writeShellScriptBin "deploy" ''
|
|
export PATH="$PATH:${nixos-rebuild}/bin"
|
|
exec ${python3}/bin/python ${./deploy.py} "$@"
|
|
''
|