nix3-profi...ipe-history(1)
π nix3-profi...ipe-history(1) β General Commands Manual β¨
β οΈ Warning, bestie: this program is experimental and its interface is subject to change. Like, the vibes are immaculate but the API is a moving target, iykyk.
Okay so, welcome to the nix3-profi...ipe-history(1) page from the General Commands Manual π. Pull up a chair, grab a strawberry π, and let's talk about yeeting old profile versions into the void.
πΈ NAME πΈ
nix profile wipe-history β delete non-current versions of a profile π§Ήπ
β¨ SYNOPSIS β¨
nix profile wipe-history [optionβ¦]
π¦ EXAMPLES π¦
- Delete all versions of the default profile older than 100 days:
# nix profile wipe-history --profile /tmp/profile --older-than 100d
removing profile version 515
removing profile version 514
Look at her go π«Ά two versions, gone, no cap.
π DESCRIPTION π
So here's the tea β: this command deletes non-current versions of a profile, which makes it impossible to roll back to these versions. Like, once they're gone they are gone gone. F in the chat π.
By default, all non-current versions are deleted. But if you pass --older-than Nd, then only the non-current versions older than N days get the boot. Periodt. π
π₯ OPTIONS π₯
--dry-runβ show what this command would do without actually doing it. A little peek, a little vibe check, zero consequences. π--older-than ageβ delete versions older than the specifiedage. And bestie,agemust be in the formatNd, whereNdenotes a number of days. So like100d. Not100, not100 days,100d. Fr fr. π--profile pathβ the profile to operate on. Tell her where the drama is. π
π Logging-related options π
--debugβ set the logging verbosity level toβdebugβ. Maximum chatter, main character energy. π£οΈ--log-format formatβ set the format of log output; one ofraw,internal-json,barorbar-with-logs. Pick your aesthetic. π¨--print-build-logs,-Lβ print full build logs on standard error. All of them. Every last one. π--quietβ decrease the logging verbosity level. Shhh π€«--verbose,-vβ increase the logging verbosity level. Tell me everything π
β Miscellaneous global options β
--helpβ show usage information. Your girl's got answers π«Ά--offlineβ disable substituters and consider all previously downloaded files up-to-date. Airplane mode but make it Nix βοΈ--option name valueβ set the Nix configuration settingnametovalue(overridingnix.conf). The override queen π--refreshβ consider all previously downloaded files out-of-date. Spicy. πΆοΈ--versionβ show version information. Slay π
π Note: seeman nix.conffor overriding configuration settings with command line flags. (Yes,nix.confis the plug, that's the source of truth.)
π that's the whole page, you ate that π
This little love letter to nix3-profi...ipe-history(1) came straight from the General Commands Manual β same title up top, same title down at the bottom, and it's dated for whenever your package shipped it. Now go forth and wipe some history, bestie π§β¨π
π¦ where this page comes from
- fedora 44: nix-core 2.35.3-2.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms