LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nh-clean

removes old Nix profile generations and runs garbage collection

TLDR

Clean user profile
$ nh clean user
copy
Clean all profiles
$ nh clean all
copy
Clean with age limit
$ nh clean all --keep [30d]
copy
Dry run
$ nh clean all --dry
copy

SYNOPSIS

nh clean target [options]

DESCRIPTION

nh clean removes old Nix profile generations and runs garbage collection. Friendly wrapper around nix-collect-garbage. Part of nh (nix helper) toolkit.

PARAMETERS

user

Clean user profile.
all
Clean all profiles.
--keep period
Keep generations newer than period.
--keep-since date
Keep generations since date.
--dry
Dry run.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid