DISNIXOS-MANIFEST(1)
π NAME π
okay so bestie, welcome to disnixos-manifest β the lil tool that generates a manifest file from your DisnixOS expressions. that's it, that's the whole vibe β¨
πΈ SYNOPSIS πΈ
disnixos-manifest -s services_nix -n network_nix [ -n network2_nix ... ]
-d distribution_nix [OPTION]
disnixos-manifest -P packages_nix -n network_nix [ -n network2_nix ... ]
[OPTION]
disnixos-manifest -n network_nix [ -n network2_nix ... ] [OPTION]
three whole moods, pick whichever one your setup needs π«Ά
π¦ DESCRIPTION π¦
so the command disnixos-manifest generates a manifest file out of a service, network and distribution Nix expression. what's it for? distributing services to machines in the network, and activating those services on the target machines in the right order. slay, ordering matters π
and here's the tea: because the manifest file contains Nix store paths of every service, running this command has a side effect β all the services that have to be activated get automatically built from source and dropped into the Nix store of the coordinator machine. no cap, it's doing a whole lot behind your back π
ngl, most users and developers do not need to use this command directly. the command disnixos-env handles manifest generation automatically for you. this one is mostly for debugging purposes, or for when you wanna do certain tasks manually. main character energy only π₯
β¨ OPTIONS β¨
-s,--services=services_nixβ the Services Nix expression, which describes, like, all the components of your distributed system π-n,--network=network_nixβ the Network Nix expression, which declares a NixOS configuration for every machine in the network π-d,--distribution=distribution_nixβ the Distribution Nix expression, the one that maps services to machines in the network π-P,--packages=packages_nixβ the Packages Nix expression, which specifies 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, which specifies how to connect to the remote Disnix interface. (defaults tohostname, iykyk) π--interface=INTERFACEβ path to the executable that communicates with a Disnix interface. defaults to:disnix-ssh-clientπ§--deploy-stateβ tells it whether to globally deploy state. heads up: it's disabled by default π--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 aresultsymlink. no lil symlink for you π--show-traceβ shows a trace of the output. for when you simply must know π--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. bestie behaviour fr π«Ά-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, which specifies how to connect to the remote Disnix interface. (defaults to:hostname) πΈDISNIX_DEPLOY_STATEβ if it's set to1, it also deploys the state of all components. (defaults to:0) π₯DISNIXOS_USE_NIXOPSβ when set to1, it says NixOps is being used to take care of the infrastructure deployment β so it properly interprets NixOps configurations and uses NixOps tooling instead of Disnix's deployment facilities. lowkey important π
π COPYRIGHT π
Copyright Β© 2008-2022 Sander van der Burg π
and that's the whole page bestie!!disnixos-manifest, fromdisnixos 0...., datedJanuary 1980β iconic, timeless, a lil retro ππ go forth and generate those manifests β¨π¦
π¦ 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