nix-collect-garbage

Delete unused and unreachable nix store paths. Generations can be…

nix-collect-garbage

Delete unused and unreachable nix store paths. Generations can be listed using nix-env --list-generations. More information: https://nixos.org/releases/nix/latest/manual/#sec-nix-collect-garbage.

sudo nix-collect-garbage --delete-old

sudo nix-collect-garbage --delete-old --dry-run

sudo nix-collect-garbage --delete-older-than {{30d}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← nix-classic nix-env →