diff --git a/pkgs/tools/virtualization/nixos-container/nixos-container-completion.sh b/pkgs/tools/virtualization/nixos-container/nixos-container-completion.sh index 0fe8ab811a17..5298b5b12038 100644 --- a/pkgs/tools/virtualization/nixos-container/nixos-container-completion.sh +++ b/pkgs/tools/virtualization/nixos-container/nixos-container-completion.sh @@ -5,7 +5,7 @@ _nixos-container() { COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" - opts="list create destroy start stop status update login root-login run show-ip show-host-key" + opts="list create destroy restart start stop status update login root-login run show-ip show-host-key" startstop_opts=$(nixos-container list) update_opts="--config" diff --git a/pkgs/tools/virtualization/nixos-container/nixos-container.pl b/pkgs/tools/virtualization/nixos-container/nixos-container.pl index 38f4c8d31699..854557eb7237 100755 --- a/pkgs/tools/virtualization/nixos-container/nixos-container.pl +++ b/pkgs/tools/virtualization/nixos-container/nixos-container.pl @@ -39,6 +39,7 @@ Usage: nixos-container list [--host-address ] [--local-address ] nixos-container destroy + nixos-container restart nixos-container start nixos-container stop nixos-container terminate