DISNIXOS-CLEAN-SNAPSHOTS(1)
π DISNIXOS-CLEAN-SNAPSHOTS(1) β the glow-up β¨
okay so bestie, you're looking at disnixos-clean-snapshots</p> from the User Commands manual, and honestly? she's a little janitor icon and we stan her π§Ήπ
πΈ NAME πΈ
disnixos-clean-snapshots</p> β deletes the older generations of snapshots across a whole network of machines. it's giving "spring cleaning but make it distributed" π¦
β¨ SYNOPSIS β¨
disnixos-clean-snapshots [OPTION] network_nix [ network2_nix ... ]
like, you pass one or more Nix expressions describing your network and she goes to work π
π DESCRIPTION π
so the way this works: disnixos-clean-snapshots removes all older snapshot generations that are stored on the machines in the network. every machine, every old generation, gone. she is thorough and she does not miss π₯
π OPTIONS π
--interface=INTERFACEβ path to the executable that talks to a Disnix interface. defaults todisnix-ssh-clientπ«Ά--target-property=PROPβ the target property of an infrastructure model that tells her how to connect to the remote Disnix π--keep=NUMβ how many snapshot generations to keep. defaults to:1. so yeah, she keeps exactly one unless you say otherwise π-C,--container=CONTAINERβ name of the container to filter on π-c,--component=COMPONENTβ name of the component to filter on πΈ--use-nixopsβ use NixOps instead of Disnix for infrastructure deployment. main character energy switch-up β-h,--helpβ shows the usage of this command to the user. always read the help bestie π-v,--versionβ shows the version of this command to the user π
π¦ ENVIRONMENT π¦
DISNIX_CLIENT_INTERFACEβ sets the client interface (which defaults todisnix-ssh-client) πDISNIX_TARGET_PROPERTYβ specifies which property in the infrastructure Nix expression says how to connect to the remote interface (defaults to:hostname) πDISNIXOS_USE_NIXOPSβ when set to1, it specifies that NixOps is used to take care of the infrastructure deployment, so that it properly interprets NixOps configurations and uses NixOps tooling instead of Disnix's deployment facilities. very demure, very mindful, very environment-variable π§
π COPYRIGHT π
Copyright Β© 2008-2022 Sander van der Burg π
ngl bestie,--keep=NUMdefaulting to1is the whole vibe check here β double-check you actually want to nuke those gens before you run her π
and that's the tea π΅ β this page came straight from disnixos-clean-snapshots (disn...), dated January 1980, living in the DISNIXOS-CLEAN-SNAPSHOTS(1) section of the manual. slay, bye π
β¨
π¦ where this page comes from
- nixos 26.05: disnixos 0.9.4
- nixpkgs unstable: disnixos 0.9.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms