DISNIXOS-RESTORE-NETWORK(1)

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

πŸ’… disnixos-restore-network πŸ’…

okay bestie, welcome to the DISNIXOS-RESTORE-NETWORK(1) page from the User Commands section. this one is literally about putting the state of your mutable components back where it belongs. no cap, it’s giving β€œrestore era” and I’m obsessed. ✨

πŸŽ€ NAME πŸŽ€

disnixos-restore-network β€” restores the state of all mutable components belonging to the system configurations. yes, all of them. the whole squad. πŸ’–

πŸ“œ SYNOPSIS πŸ“œ

disnixos-restore-network [OPTION] network_expr ...

so the shape is [OPTION] plus network_expr ..., periodt. 🫢

🌸 DESCRIPTION 🌸

The disnixos-restore-network command is used to restore the state of all mutable components that have been deployed as part of machine’s configuration. that’s the whole main character energy of this page: your machine’s config has mutable components, they got deployed, and this command brings their state back. πŸ¦‹

✨ OPTIONS ✨

  • --target-property=PROP β€” the target property of an infrastructure model, and it specifies how to connect to the remote Disnix interface. defaults to hostname. πŸ—ΊοΈ
  • --interface=INTERFACE β€” the process that communicates with the remote disnix service. defaults to: disnix-ssh-client. πŸ’…
  • --transfer-only β€” transfers the snapshot from the target machines, but does not actually restore them. so it’s giving β€œlook, don’t touch” πŸ˜­πŸ“¦
  • --all β€” transfers all snapshot generations of the target machines, not the latest. iconic completionist behavior πŸ‘‘
  • -p, --profile=PROFILE β€” name of the profile that is used for this system. defaults to: default. πŸŽ€
  • -m, --max-concurrent-transfers=NUM β€” maximum amount of concurrent closure transfers. the manpage says Defauls to: 2 β€” that’s their typo, not mine πŸ’€ β€” so the default is 2. πŸ”₯
  • --disable-disnix β€” do not enable the Disnix service on the target machines by default. okay lowkey chaotic but noted 🫢
  • --show-trace β€” shows a trace of the output. yes bestie, we love receipts. 🧾✨
  • -h, --help β€” shows the usage of this command. the classic cry for help but make it helpful πŸ’–
  • -v, --version β€” shows the version of this command. slay, know your era. 🌈

🌈 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. πŸ—ΊοΈ
  • 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 Β© 2008-2022 Sander van der Burg.


okay that’s the whole page, bestie. cute sign-off time: this footer tea is source/version disnixos-restore-network (disn... and date January 1980, all under the DISNIXOS-RESTORE-NETWORK(1) umbrella. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from