diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index ae650626..a93366b5 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -54,7 +54,7 @@ git pull docker compose up -d $argv popd - ''; + ''; # Deploy-RS script deploy-rs = '' pushd /etc/nixos/git/ @@ -66,10 +66,6 @@ echo -en ", Milan" ssh -qA milan-linode-01 "sudo systemctl restart podman-derp" echo -e "... Done" - echo -en "Restarting rdesktop containers.... " - ssh -qA warsaw-ovh-01 "sudo systemctl restart container@rdesktop" - ssh -qA framework-server "sudo systemctl restart container@rdesktop" - echo -e "... Done" deploy -s popd ''; @@ -127,6 +123,16 @@ echo "Collecting garbage..." sudo nix-collect-garbage -d ''; + + # BTRFS Related + clean-boot-snapshots = '' + echo -e "Deleting boot snapshots...." + for i in $(sudo snapper -c root list | grep boot | awk {'print $1'}); + echo -e " $i," + sudo snapper -c root delete $i; + end + echo -e " done." + ''; }; shellAliases = {