DISNIX-CLEAN-SNAPSHOTS(1)

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

✨ DISNIX-CLEAN-SNAPSHOTS(1) ✨

okay bestie, so we're in the User Commands section of the disnix manual, and today's main character is disnix-clean-snapshots πŸŽ€


🌸 NAME 🌸

disnix-clean-snapshots β€” literally deletes older snapshots that are chilling on the machines in your network πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

disnix-clean-snapshots [OPTION] infrastructure_nix

✨ DESCRIPTION ✨

so the way this works is: disnix-clean-snapshots goes around and removes all older snapshot generations that are stored on the machines in the network. that's it. that's the whole vibe. it's giving "spring cleaning but make it distributed" 🧹✨

no cap, that's the entire description. iconic brevity, honestly.


πŸ’– OPTIONS πŸ’–

  • --interface=INTERFACE β€” path to the executable that talks to a Disnix interface. defaults to disnix-ssh-client 🫢
  • --target-property=PROP β€” the target property of an infrastructure model that tells it how to connect to the remote Disnix πŸ”₯
  • --keep=NUM β€” how many snapshot generations to keep. defaults to: 1 πŸ‘‘
  • -C, --container=CONTAINER β€” name of the container to filter on πŸ“
  • -c, --component=COMPONENT β€” name of the component to filter on πŸ¦‹
  • --xml β€” specifies that the configurations are in XML, not the Nix expression language πŸ“„
  • -h, --help β€” shows the usage of this command to the user πŸ™ˆ
  • -v, --version β€” shows the version of this command to the user ⭐

🌈 ENVIRONMENT 🌈

  • DISNIX_CLIENT_INTERFACE β€” sets the client interface (which defaults to disnix-ssh-client) πŸ’œ
  • DISNIX_TARGET_PROPERTY β€” specifies which property in the infrastructure Nix expression specifies how to connect to the remote interface (defaults to: hostname) πŸ’«

Copyright Β© 2008-2022 Sander van der Burg


and that's the whole page, bestie πŸŽ€ ngl it was short and sweet. this was disnix version 0.10.2, dated January 1980 β€” yeah, the date is a whole mood, don't question it πŸ’…βœ¨ slay!

πŸ“¦ where this page comes from