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