DISNIXOS-DELEGATE(1)
π DISNIXOS-DELEGATE π
okay so you're reading the disnixos-delegate page from the disnixos manual β welcome bestie, grab a snack, this one's actually kinda fun π
β¨ NAME β¨
disnixos-delegate β delegates service and infrastructure builds to the target machines π― like it literally hands off the building work to the machines themselves, no cap
π¦ SYNOPSIS π¦
disnixos-delegate -s services_nix -n network_nix [ -n network2_nix ... ]
-d distribution_nix [OPTION]
disnixos-delegate -P packages_nix -n network_nix [ -n network2_nix ... ]
[OPTION]
two whole modes, pick your fighter π
πΈ DESCRIPTION πΈ
so the command disnixos-delegate is the one that instantiates all the derivations of the services on the deployed machines in the network, and then delegates their build operations over to the target machines. it's giving "you don't do it yourself, the machines do" energy π
this command needs three Nix expressions as input parameters β and yes, all three, it's not flexible about this:
- a services model capturing the components of a distributed system and its inter-dependencies π§©
- an infrastructure model capturing the machines in the network and its properties π₯οΈ
- a distribution model which maps services to machines π
ngl most users do not need to use this command directly. thedisnix-envcommand will automatically invoke this command to activate the new configuration. so likeβ¦ it's a backstage main character, you'll meet it throughdisnix-envπ«
π OPTIONS π
-s,--services=services_nixβ the services Nix expression, which describes all the components of the distributed system π§-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 tohostname) π--interface=INTERFACEβ path to executable that communicates with a Disnix interface. Defaults to:disnix-ssh-clientπ°οΈ-m,--max-concurrent-transfers=NUMβ maximum amount of concurrent closure transfers. Defauls to:2(yes it says "Defauls" in the original, we keep the typo, it's iconic now) π--extra-params=PARAMSβ a string with an attribute set in the Nix expression language propagating extra parameters to the input models π--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 π--show-traceβ shows a trace of the output π-h,--helpβ shows the usage of this command π«Ά-v,--versionβ shows the version of this command β
π 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) π
π COPYRIGHT π
Copyright Β© 2008-2022 Sander van der Burg
okay that's the whole page, you ate that π
β¨ and for the sign-off: this lil beauty comes from disnixos (version 0.... β yes, genuinely, that's what it says, we don't question it π) and it's dated January 1980 which is lowkey camp of it. go delegate something, bestie π¦π
π¦ where this page comes from
- nixos 26.05: disnixos 0.9.4
- nixpkgs unstable: disnixos 0.9.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms