full collect garbage

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>

Former-commit-id: d60e4530f5
This commit is contained in:
Hadi
2025-05-28 14:33:35 +02:00
parent 0afd3fc6cf
commit c5c6c46af8

View File

@@ -59,6 +59,7 @@ let
cd ${configDirectory} && nix flake update cd ${configDirectory} && nix flake update
elif [[ $1 == "gc" ]];then elif [[ $1 == "gc" ]];then
cd ${configDirectory} && sudo nix-collect-garbage -d cd ${configDirectory} && sudo nix-collect-garbage -d
cd ${configDirectory} && nix-collect-garbage -d
elif [[ $1 == "cb" ]];then elif [[ $1 == "cb" ]];then
sudo /run/current-system/bin/switch-to-configuration boot sudo /run/current-system/bin/switch-to-configuration boot
elif [[ $1 == "listgen" ]];then elif [[ $1 == "listgen" ]];then