From 147afbd43ef6b4f440789ec1b8a089e9438a1a61 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 24 Nov 2024 18:17:18 +0100 Subject: [PATCH] Update fish shell script for restart-docker --- home-manager/common/software/cli/fish.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index 5046da7a..e0587cc6 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -44,7 +44,10 @@ find secrets -name "*.yaml" -exec sops updatekeys {} \; ''; restart-docker = '' - pushd /Storage/Data/docker-compose/sysctl.io/ + if [ (hostname) = "nuc-server" ] + pushd /Storage/Data/docker-compose/ifargle.com/ + else + pushd /Storage/Data/docker-compose/sysctl.io/ docker stop $argv docker rm $argv git pull