DISNIX-DELETE-STATE(1)

πŸ“¦ version 0.10.2, in nixos 26.05, nixpkgs unstable

πŸ—‘οΈβœ¨ DISNIX-DELETE-STATE πŸ’…

okay bestie, welcome to disnix-delete-state, straight out of the disnix manual (section 1, User Commands, if we're being fancy πŸŽ€). This is the little cleanup goblin that sweeps away state nobody needs anymore, and honestly? iconic behaviour.


🌸 NAME 🌸

disnix-delete-state β€” deletes the state of components that have become obsolete. yeah. it's a garbage collector but for state. lowkey glamorous.


πŸ¦‹ SYNOPSIS πŸ¦‹

disnix-delete-state [OPTION] [MANIFEST]

that's it. that's the whole vibe. options, and optionally a manifest. slay.


πŸ’– DESCRIPTION πŸ’–

so here's the tea πŸ“: disnix-delete-state removes the state of all the components in a given deployment manifest that have been marked as garbage. gone. deleted. not invited to the group chat anymore.

if you don't hand it a manifest file, it just uses the manifest of the last deployed configuration. it knows. it remembers. main character energy.

🫢 real talk though: most users don't need to run this command directly. the disnix-env command will automatically invoke this command after the new configuration has been deployed. so like… it's already happening for you, bestie. you're covered.

✨ OPTIONS ✨

  • -c, --container=CONTAINER β€” name of the container in which the mutable component is deployed 🧚
  • -C, --component=COMPONENT β€” name of the mutable component to take snapshots from πŸ“Έ
  • -p, --profile=PROFILE β€” name of the profile in which the services are registered. defaults to: default πŸ‘‘
  • --coordinator-profile-path=PATH β€” path to the manifest of the previous configuration. by default this tool will use the manifest stored in the disnix coordinator profile instead of the specified one, which is usually sufficient in most cases. iykyk πŸ’…
  • -h, --help β€” shows the usage of this command to the user. ask and you shall receive πŸ™ˆ
  • -v, --version β€” shows the version of this command to the user. number drop ⭐

🌈 ENVIRONMENT 🌈

  • DISNIX_PROFILE β€” sets the name of the profile that stores the manifest on the coordinator machine and the deployed services per machine on each target. defaults to: default πŸ’œ

Copyright Β© 2008-2022 Sander van der Burg


and that's the whole page, bestie!! no cap, every flag is here and accounted for 🫢 this cutie is brought to you by disnix 0.10.2, dated January 1980 (yes really, the vibes are vintage πŸ’€), and we're out. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from