DISNIXOS-INSTANTIATE(1)

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

πŸ’– DISNIXOS-INSTANTIATE(1) πŸ’–

okay so welcome to the DISNIXOS-INSTANTIATE(1) page from the User Commands manual, bestie β€” we're about to make distributed derivations make sense, no cap ✨

🌸 NAME 🌸

disnixos-instantiate β€” instantiate a distributed derivation from DisnixOS expressions. that's the whole name, periodt πŸ’…

✨ SYNOPSIS ✨

the three moods of this command are literally:

disnixos-instantiate -s services_nix -n network_nix [ -n network2_nix
... ] -d distribution_nix [OPTION]
disnixos-instantiate -P packages_nix -n network_nix [ -n network2_nix
... ] [OPTION]
disnixos-instantiate -n network_nix [ -n network2_nix ... ] [OPTION]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: the command disnixos-instantiate generates a distributed derivation file from a service, network and distribution Nix expression, which can be used to build the services on the target machines from source code by using the disnix-build command. iconic behavior, honestly πŸ”₯

if only network expressions are given without a services or distribution expression, then an infrastructure distributed derivation file is generated. different vibe, still valid πŸ’–

real talk bestie: most users and developers don't need to use this command directly. the command disnixos-env performs instantiation of a distributed derivation automatically. it is mostly used for debugging purposes or to perform certain tasks manually.

πŸ’… OPTIONS πŸ’…

  • -s, --services=services_nix β€” the Services Nix expression which describes all the components of the distributed system, bestie.
  • -n, --network=network_nix β€” the Network Nix expression which declares a NixOS configuration for each machine in the network ✨.
  • -d, --distribution=distribution_nix β€” the Distribution Nix expression which maps services to machines in the network.
  • -P, --packages=packages_nix β€” the Packages Nix expression specifying the packages that should be deployed in a Nix profile mapped to each machine in the network.
  • --target-property=PROP β€” the target property of an infrastructure model, that specifies how to connect to the remote Disnix interface. (Defaults to: hostname)
  • --interface=INTERFACE β€” path to the executable that communicates with a Disnix interface. Defaults to: disnix-ssh-client
  • --extra-params=PARAMS β€” a string with an attribute set in the Nix expression language propagating extra parameters to the input models.
  • --no-out-link β€” do not create a 'result' symlink. no little result link for you, okay? πŸŽ€
  • --show-trace β€” shows a trace of the output.
  • --vm β€” configures a manifest used for the NixOS test driver.
  • --use-nixops β€” use NixOps instead of Disnix's deployment facilities.
  • --disable-disnix β€” do not enable the Disnix service on the target machines by default.
  • -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 (defaults to: disnix-ssh-client).
  • DISNIX_TARGET_PROPERTY β€” sets the target property of an infrastructure model, that specifies how to connect to the remote Disnix 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.

Copyright Β© 2008-2022 Sander van der Burg


okay bye bestie! this page is from the disnixos... source/version line and it's dated January 1980 β€” mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from