DISNIX-CAPTURE-INFRA(1)
π disnix-capture-infra β bestie's guide
okay so real talk, the manual page for disnix-capture-infra (that's the manual name, she's from the User Commands section, iykyk) is here and I'm gonna walk you through it π«Ά
β¨ NAME β¨
disnix-capture-infra β she captures the container configurations of your machines and generates an infrastructure expression out of them. literally her whole job π
π SYNOPSIS π
disnix-capture-infra [OPTION] infrastructure_nix
πΈ DESCRIPTION πΈ
okay so the way this works: the disnix-capture-infra command captures the container configurations of all the machines defined in the infrastructure model, and then generates an infrastructure expression from that. every single machine in the model, no skipping, no cap π¦
π OPTIONS π
--interface=INTERFACEβ path to the executable that talks to a Disnix interface. it defaults todisnix-ssh-clientβ that's your girl unless you say otherwise π₯--target-property=PROPβ the target property of an infrastructure model, i.e. the thing that specifies how to connect to the remote Disnix interface. defaults to:hostname(as it should π )--xmlβ says the configurations are in XML, not the Nix expression language. important distinction bestie, don't mix them up π-h,--helpβ shows the usage of this command to the user. use it, it's free π-v,--versionβ shows the version of this command to the user. also free π
π ENVIRONMENT π
DISNIX_CLIENT_INTERFACEβ sets the client interface (which defaults todisnix-ssh-client) β¨DISNIX_TARGET_PROPERTYβ specifies which property in the infrastructure Nix expression specifies how to connect to the remote interface (defaults to:hostname) π
π COPYRIGHT π
Copyright Β© 2008-2022 Sander van der Burg
that's the whole vibe! π§ this lil page is disnix version 0.10.2, dated January 1980 (yes really, iconic of her tbh), from the User Commands manual. go capture some infra bestie, slay ππ«
π¦ 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