DISNIX-DELETE-STATE(1)
ποΈβ¨ 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 π
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
- nixos 26.05: disnix 0.10.2
- nixpkgs unstable: disnix 0.10.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms