DISNIX-COLLECT-GARBAGE(1)

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

πŸ’… DISNIX-COLLECT-GARBAGE(1) β€” User Commands, bestie ✨

okay so this is the manual page for disnix-collect-garbage, and yes it's a User Commands girly through and through πŸŽ€ pull up a chair, we're cleaning house.


🌸 NAME 🌸

disnix-collect-garbage β€” deletes garbage from a whole network of machines. like, the digital kind of garbage, not the "your ex's playlist" kind πŸ’€

✨ SYNOPSIS ✨

disnix-collect-garbage [OPTION] infrastructure_nix

that's it. that's the whole vibe check. one infrastructure_nix and some options, and you're off πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

so disnix-collect-garbage goes ahead and collects all the garbage from all the machines that are defined in an infrastructure Nix expression. every single one. no cap. 🧹✨

and if that wasn't enough, it optionally removes all the older profiles too β€” that part's opt-in, we'll get to it πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

  • -d, --delete-old β€” removes all the old Nix profile generations. the glow-up/cleanse of options fr fr πŸ’…
  • --interface=INTERFACE β€” the path to the executable that talks to a Disnix interface. defaults to disnix-ssh-client, which is lowkey the main character here 🌟
  • --target-property=PROP β€” the target property of an infrastructure model, i.e. the thing that specifies how to connect to the remote Disnix interface. defaults to: hostname 🏠
  • --xml β€” says "hey bestie, the configurations are in XML, not the Nix expression language" πŸ“„βœ¨
  • -h, --help β€” shows you how to use this command. we love a self-aware icon 🫢
  • -v, --version β€” shows the version of this command. flex that number, periodt πŸ’β€β™€οΈ

🌈 ENVIRONMENT 🌈

  • DISNIX_CLIENT_INTERFACE β€” sets the client interface (which defaults to disnix-ssh-client). same energy as --interface, just via the environment πŸ’œ
  • DISNIX_TARGET_PROPERTY β€” specifies which property in the infrastructure Nix expression says how to connect to the remote interface (defaults to: hostname). yeah, it's the environment twin of --target-property πŸ¦‹

Copyright Β© 2008-2022 Sander van der Burg


ngl that's genuinely the whole page β€” nothing hidden, nothing skipped, every flag accounted for πŸ’―

and that's a wrap, bestie! this page came to you courtesy of disnix 0.10.2, dated January 1980 (yes, the 1980, we don't question the timeline 😭), and it says DISNIX-COLLECT-GARBAGE(1) down here at the bottom too πŸŽ€βœ¨ go forth and collect that garbage, you absolute icon πŸ’–

πŸ“¦ where this page comes from