DISNIXOS-QUERY(1)
π DISNIXOS-QUERY π
okay bestie, so this is a page from the User Commands manual β like, the DISNIXOS-QUERY(1) corner of the disnixos universe. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
disnixos-query β the girl whose whole job is querying the installed services from machines. like, she goes around asking "hey what's running" and reports back. icon behavior, honestly.
π¦ SYNOPSIS π¦
disnixos-query [OPTION] network_nix [ network2_nix ... ]
lowkey simple: you give her options, and then one or more network_nix files, and she does her thing. plural networks, bestie β she can handle more than one. main character energy π
πΈ DESCRIPTION πΈ
so the way that disnixos-query works is: it collects and displays all the installed services from the machines defined in a given infrastructure model. that's it, that's the whole vibe. she pulls up to the infrastructure model, sees which machines are in there, and comes back with the receipts on what's installed. no cap. π«Ά
π OPTIONS π
-p,--profile=PROFILEβ the name of the profile where the services are registered. defaults to:default. so if you don't say anything, she assumesdefault, because of course she does π--interface=INTERFACEβ the path to the executable that talks to a Disnix interface. defaults todisnix-ssh-client. it's the little messenger she sends out, iykyk.--target-property=PROPβ the target property of an infrastructure model that specifies how to connect to the remote Disnix interface. defaults tohostname. basically: "which field in the model tells me where to go?" and by default it'shostname. periodt. π₯-f,--format=FORMATβ the output format, bestie, this is the aesthetic choice. options are:services(default),containers,nix, andxml. pick your lewk β¨--use-nixopsβ use NixOps instead of Disnix for infrastructure deployment. she's flexible like that, she's not gonna gatekeep deployment tools π§-h,--helpβ shows the usage of this command to the user. your little "help me bestie" button π-v,--versionβ shows the version of this command to the user. she'll tell you how old she is, no shame π
π ENVIRONMENT π
DISNIX_CLIENT_INTERFACEβ sets the client interface (which defaults todisnix-ssh-client). same default as the--interfaceflag, but like, in env-var form. slay. πDISNIX_TARGET_PROPERTYβ specifies which property in the infrastructure Nix expression specifies how to connect to the remote interface (defaults to:hostname). yep, the env-var twin of--target-property. twinsies π«ΆDISNIX_PROFILEβ sets the name of the profile that stores the manifest on the coordinator machine and the deployed services per machine on each target (Defaults to:default). this one's doing double duty β coordinator machine and each target. highkey overachiever ππ
ngl bestie, if you set these env vars, you don't have to type the flags every single time. the convenience is giving self-care, fr fr.
π COPYRIGHT π
Copyright Β© 2008-2022 Sander van der Burg
and that's the whole page! π¦ this was disnixos-query from the disnixos 0.9.4 release, dated January 1980 (yes, really, that's the date on the tin π). go forth and query those services, bestie β you're gonna eat, no cap. πβ¨π₯
π¦ 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