DISNIX-MANIFEST(1)
π DISNIX-MANIFEST(1) β the disnix-manifest girlies' guide
okay so bestie, welcome to disnix-manifest, a User Commands moment, prepared like a little snack for your terminal π
β¨ NAME β¨
disnix-manifest β generates a deployment manifest file from Disnix expressions. that's it, that's the vibe π
π¦ SYNOPSIS π¦
disnix-manifest -s services_nix -i infrastructure_nix -d
distribution_nix [OPTION]
disnix-manifest -P packages_nix -i infrastructure_nix [OPTION]
disnix-manifest --undeploy -i infrastructure_nix [OPTION]
disnix-manifest -A architecture_nix [OPTION]
disnix-manifest -D deployment_nix [OPTION]
five whole ways to run her, pick your fighter π
πΈ DESCRIPTION πΈ
so the command disnix-manifest generates a manifest file from a service, infrastructure and distribution Nix expression. and like, what's that for?? it can be used for the distribution of services to machines in the network AND for the activation of services on target machines in the right order. iconic behaviour, honestly π
okay so here's the thing nobody warns you about: since the manifest file contains Nix store paths of every service, a side effect of running this command is that all the services that have to be activated are automatically built from source and stored in the Nix store of the coordinator machine. not me casually triggering a whole build π
ngl, most users and developers don't need to use this command directly β the command disnix-env performs generation of a manifest automatically for you. this one is mostly used for debugging purposes or to perform certain tasks manually. lowkey a power-user-only zone, iykyk π§
π₯ OPTIONS π₯
-s,--services=services_nixβ the Services Nix expression, which describes all components of the distributed system. the whole cast, main character energy.-i,--infrastructure=infrastructure_nixβ the Infrastructure Nix expression, which captures properties of machines in the network. who's out here and where π-d,--distribution=distribution_nixβ the Distribution Nix expression, which maps services to machines in the network. matchmaker matchmaker π-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.-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. the whole lore in one file fr fr.-D,--deployment=deployment_nixβ the Deployment Nix expression that describes all the mappings that have a one-on-one relationship with the deployment activities that are carried out. one-to-one, no situationships π«Ά--undeployβ generates a manifest file that conveniently undeploys all services. bye bestie, slay your exit β¨--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π»--deploy-stateβ indicates whether to globally deploy state (disabled by default). she's off unless you say otherwise π--extra-params=PARAMSβ a string with an attribute set in the Nix expression language propagating extra parameters to the input models. little extra sprinkle π--no-out-linkβ do not create aresultsymlink. no leftovers, we love a clean girlie π--show-traceβ shows a trace of the output. receipts!! π§Ύ-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)DISNIX_DEPLOY_STATEβ if set to1it also deploys the state of all components. (defaults to:0)
π reminder that0is the default forDISNIX_DEPLOY_STATEβ so if you wanted state deployed and you didn't set it to1, that's on you bestie, no cap.
π COPYRIGHT π
Copyright Β© 2008-2022 Sander van der Burg
okay that's the whole page!! π¦ full credit and a little curtsy to disnix-manifest (disnix 0.10.2), dated January 1980 β yes the 1980 is real and yes it's giving time traveler π« mwah, go generate some manifests bestie π
π¦ 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