DISNIX-ACTIVATE(1)
π DISNIX-ACTIVATE β bestie edition
okay so this is the manual page for disnix-activate, straight out of the disnix family of commands. pull up a chair π
β¨ NAME β¨
disnix-activate β activate a configuration described in a manifest. literally what it says on the tin, no cap.
π¦ SYNOPSIS π¦
disnix-activate [OPTION] MANIFEST
πΈ DESCRIPTION πΈ
okay so picture this: the command disnix-activate activates all the services in the manifest file you hand it, on the target machines, and it does it in the right order β by traversing the inter-dependency graph of the services. it's giving graph traversal realness π
if there's already a configuration deployed? then this command performs an upgrade. slay.
here's the order of operations, bestie:
- first it deactivates all the obsolete services which are not present in the new configuration.
- finally it activates all the new services in the new configuration.
and during that second phase it takes inter-dependencies into account, so that no service will fail due to a broken inter-dependency closure. we do NOT do broken closures in this house π ββοΈ
in case of a failure, a rollback is performed: all the newly activated services are deactivated and all deactivated services are activated again. it's giving "undo undo undo" π
most users don't need to use this command directly, fr fr. thedisnix-envcommand will automatically invoke this command to activate the new configuration. so unless you're being a main character about it, you can letdisnix-envhandle it π
π OPTIONS π
-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.-o,--old-manifest=MANIFESTβ Nix profile path where the manifest should be stored, so that Disnix knows the current configuration of a distributed system. by default it is stored in the profile directory of the user. most users do not want to use this option directly, but it's used by e.g. the virtualization extension to store the virtual machine profile in a separate directory.--no-upgradeβ by enabling this option Disnix does not store the deployment state for further use, such as upgrading.--no-rollbackβ do not roll back if an error occurs while deactivating and activating services. (yes bestie, that means the mess stays. be so serious before you turn this on π)--dry-runβ prints the activation and deactivation steps that will be performed but does not actually execute them. vibe check mode only β¨-h,--helpβ shows the usage of this command to the user.-v,--versionβ shows the version of this command to the user.
π«Ά Exit status π«Ά
0β transition succeeded. periodt. π1β transition failed, but was successfully roll backed.2β transition failed and the rollback of the obsolete mappings failed. π3β transition failed and the rollback of the new mappings failed. π
π 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).
π COPYRIGHT π
copyright Β© 2008-2022 Sander van der Burg
and that's the whole page, bestie π this was disnix version 0.10.2, dated January 1980 (yes, really, iconic behavior honestly π§). go forth and activate responsibly π
π¦ 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