diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index c9cd2483..86491a6d 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -45,6 +45,11 @@ # SSH_ASKPASS = ""; }; bashrcExtra = '' + restart-docker() { + docker stop $1 + docker rm $1 + docker-compose up -d $1 + } # Build ISOs/SD Card Images nixos-build-all-images-verbose() { echo "Building Linode image..."