DISNIX-DELEGATE(1)
π DISNIX-DELEGATE(1) π
okay so bestie, welcome to disnix-delegate β a User Command and honestly kind of a backstage icon. she doesn't want the spotlight, she just makes everybody else's builds happen on the right machines. let's get into it π
β¨ NAME β¨
disnix-delegate β delegates service builds to the target machines. that's the whole vibe. no cap.
π¦ SYNOPSIS π¦
disnix-delegate -s services_nix -i infrastructure_nix -d distribution_nix [OPTION]
disnix-delegate -A architecture_nix [OPTION]
two whole ways in, pick your fighter π
πΈ DESCRIPTION πΈ
so the command disnix-delegate is literally there to instantiate all derivations of the services on the deployed machines in the network, and then hand off (delegate! see what they did there) their build operations to the target machines. she's a delegator. it's giving manager energy but like, the helpful kind. π
this command needs three Nix expressions as input parameters β and yes, all three, no skipping:
- 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 πΊοΈ
π real talk though: most users don't need to use this command directly. the disnix-env command will automatically invoke this command to activate the new configuration. so unless you're doing something specific, she's already being called for you, bestie. main character energy behind the scenes fr fr.
π OPTIONS π
-s,--services=services_nixβ the Services Nix expression which describes all components of the distributed system β¨-i,--infrastructure=infrastructure_nixβ the Infrastructure Nix expression which captures properties of machines in the network π₯οΈ-d,--distribution=distribution_nixβ the Distribution Nix expression which maps services to machines in the network πΊοΈ-P,--packages=packages_nixβ a Packages Nix expression specifying the packages that should be deployed in a Nix profile mapped to each machine in the network π¦-A,--architecture=architecture_nixβ the Deployment architecture Nix expression that captures all properties of the services and infrastructure, including the distribution of services to targets ποΈ (this is the one-expression-to-rule-them-all path from the second synopsis line, iykyk)-B,--build=build_nixβ a Build Nix expression that maps store derivations to target machines in the network π¨--extra-params=PARAMSβ a string with an attribute set in the Nix expression language, propagating extra parameters to input models π--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. defaults to:2π (yes only two by default, she's cautious, respect it)--show-traceβ shows a trace of the output π (for when you need to see exactly what happened)-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
and that's the whole page, bestie!! π this one's disnix-delegate (disnix 0.10.2), dated January 1980 (yes, iconic retro timestamp, we love a vintage footer π°οΈπ) β now go delegate something, you got this πͺβ¨π¦
π¦ where this page comes from
- nixos 26.05: disnix 0.10.2
- nixpkgs unstable: disnix 0.10.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms