mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
full collect garbage
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user