DISNIXOS-COLLECT-GARBAGE(1)

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

πŸ’… disnixos-collect-garbage πŸ’…

okay so bestie, this is the manual page for disnixos-collect-garbage β€” it lives in the DisnixOS corner of the Unix universe and it's here to take out the trash πŸ—‘οΈβœ¨


🌸 NAME 🌸

disnixos-collect-garbage β€” delete garbage from a whole network of machines, no cap πŸ’–


✨ SYNOPSIS ✨

disnixos-collect-garbage [OPTION] network_nix [ network2_nix ... ]

so you give it one or more network Nix expressions, plus whatever options you want, and it does its lil cleanup thing 🧹🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

the way that this command literally collects all the garbage from all the machines defined in a network Nix expression πŸ˜­πŸ‘‘

and if you want?? it will optionally remove all the older profiles too. like, it's giving spring cleaning but make it infrastructure πŸ’…βœ¨


πŸŽ€ OPTIONS πŸŽ€

  • -d, --delete-old β€” removes all the old Nix profile generations. bye bye old gens, you will not be missed πŸ«ΆπŸ’€
  • --interface=INTERFACE β€” path to the executable that talks to a Disnix interface. it defaults to disnix-ssh-client 🌈
  • --target-property=PROP β€” the target property of an infrastructure model that specifies how to connect to the remote Disnix interface. (defaults to: hostname) πŸ”₯
  • --use-nixops β€” use NixOps instead of Disnix for the infrastructure deployment. switching it up bestie 😌
  • -h, --help β€” shows the usage of this command to you, the user. iconique behaviour honestly πŸ‘‘
  • -v, --version β€” shows the version of this command to the user. slay ⭐

🧚 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) 🌸
  • DISNIXOS_USE_NIXOPS β€” when set to 1, 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. set it to 1 and it's NixOps o'clock, iykyk πŸ’œ

Copyright Β© 2008-2022 Sander van der Burg πŸ’–


and that's the whole vibe bestie, hope your garbage collection ate and left no crumbs πŸ—‘οΈβœ¨πŸ’…

signing off from the disnixos-collect-garbage (disn... manual page, dated January 1980 β€” yes we're serving vintage, xoxo πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from