From ffbec4f14880ba8e277fa6502e2f618529e05b0a Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 28 Dec 2023 12:05:53 +0900 Subject: [PATCH] Test --- home-manager/common/software/cli/bash.nix | 5 +++++ 1 file changed, 5 insertions(+) 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..."