Add flatpak cleanup to store-gc
This commit is contained in:
@ -66,7 +66,7 @@ pkgs.devshell.mkShell {
|
|||||||
{
|
{
|
||||||
name = "store-gc";
|
name = "store-gc";
|
||||||
help = "Run NixOS garbage collector";
|
help = "Run NixOS garbage collector";
|
||||||
command = "nix-store --gc && sudo nix-collect-garbage -d";
|
command = "nix-store --gc && sudo nix-collect-garbage -d && flatpak uninstall --unused";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "store-optimise";
|
name = "store-optimise";
|
||||||
|
Reference in New Issue
Block a user