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 specified age. And bestie, age must be in the format Nd, where N denotes a number of days. So like 100d. Not 100, not 100 days, 100d. Fr fr. πŸ“…
  • --profile path β€” the profile to operate on. Tell her where the drama is. πŸ“‚
  • --debug β€” set the logging verbosity level to β€˜debug’. Maximum chatter, main character energy. πŸ—£οΈ
  • --log-format format β€” set the format of log output; one of raw, internal-json, bar or bar-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 setting name to value (overriding nix.conf). The override queen πŸ‘‘
  • --refresh β€” consider all previously downloaded files out-of-date. Spicy. 🌢️
  • --version β€” show version information. Slay πŸŽ€
πŸ“ Note: see man nix.conf for overriding configuration settings with command line flags. (Yes, nix.conf is 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