DISNIX-DIAGNOSE(1)
π©Ί DISNIX-DIAGNOSE(1) β the disnix-diagnose page, bestie edition π
okay so real quick housekeeping: this is a User Commands manual page for disnix-diagnose</p>, and it's lowkey a lifesaver. let's get into it π«Ά
β¨ NAME β¨
disnix-diagnose</p> β spawn a remote shell session to diagnose a service π©Ίβ¨
πΈ SYNOPSIS πΈ
disnix-diagnose -S SERVICE [OPTION] [MANIFEST]
that's it. that's the whole vibe check. -S SERVICE is the main character here, everything else is optional β¨
π¦ DESCRIPTION π¦
so what does it actually do? it spawns a remote shell session to a machine where the given service is deployed β and not just any shell, bestie, it comes pre-loaded with environment variables containing configuration settings π
which means you can conveniently diagnose problems, or just execute arbitrary maintenance tasks like the icon you are π
ngl it's giving "ssh but with the receipts" and i'm obsessed.
π OPTIONS π
-S,--serviceβ name of the service to connect to. this is the one you literally cannot skip, it's the whole point π«Ά--show-mappingsβ displays the targets and containers in which the service is hosted. receipts mode, activated π-c,--container=CONTAINERβ name of the container in which the mutable component is deployed π-t,--target=TARGETβ specifies the target to connect to. pick your machine, pick your destiny β¨--command=COMMANDβ shell commands to execute. no interactive session? no problem, just hand it the commands and go πΈ-p,--profile=PROFILEβ name of the profile in which the services are registered. defaults to:defaultπ--coordinator-profile-path=PATHβ path to the manifest of the previous configuration. by default this tool will use the manifest stored in the disnix coordinator profile instead of the specified one, which is usually sufficient in most cases π§ (so likeβ¦ you probably don't need this one, but she's there if you do)-h,--helpβ shows the usage of this command to the user. classic, beloved, never misses π-v,--versionβ shows the version of this command to the user. for when you gotta know β
π ENVIRONMENT π
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) π
fr fr remember: this env var is doing double duty β coordinator side and target side. one var, two jobs, main character energy π
π COPYRIGHT π
Copyright Β© 2008-2022 Sander van der Burg
so yeah, that's the page π go diagnose something, slay, and remember: -S SERVICE is not optional, bestie.
disnix 0.10.2 π β dated January 1980 (yes really, the timestamp is vintage, the tools are iconic) πβ¨π¦
π¦ 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