DISNIX-LOCK(1)
π disnix-lock(1) β User Commands, but make it bestie π
okay so this page is filed under User Commands, and itβs literally about the disnix-lock command. Letβs get into it. π¦
πΈ NAME πΈ
disnix-lock β notifies services to lock or unlock themselves. Thatβs the whole vibe, bestie. π
β¨ SYNOPSIS β¨
disnix-lock [--unlock] [OPTION] [MANIFEST]
π DESCRIPTION π
Okay so disnix-lock notifies all services on the machines that the transition phase starts or ends, so that they can temporarily lock or unlock themselves β or take other precautions to make the transition to go smooth. Itβs giving backstage pass for deploy time. ποΈ
If no manifest is specified, the manifest of the last deployed configuration will be used. No manifest? No problem, bestie β it grabs the manifest from the last deployed configuration. πΎ
Most users donβt need to use this command directly. The disnix-env command will automatically invoke this command before upgrading the configuration. So like, if youβre just out here deploying normally, disnix-env is the main character and it calls disnix-lock for you. No cap. π
π OPTIONS π
-u,--unlockβ executes an unlock operation instead of a lock. So like, undoing the lock vibe, not doing the lock vibe. π-p,--profile=PROFILEβ name of the profile in which the services are registered. Defaults to:default. Pick your profile, bestie; if you donβt, itβsdefault. π«Ά--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. iykyk β this is the βwhereβs the previous manifest?β knob. ποΈ-h,--helpβ shows the usage of this command to the user. Helpful icon behavior. π-v,--versionβ shows the version of this command to the user. Version check, slay. β
π 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. So yes, samedefaultsituation again, bestie. π
π COPYRIGHT π
Copyright Β© 2008-2022 Sander van der Burg. Respect the icon who wrote it. π
mwah π this page is from disnix 0.10.2, dated January 1980 β vintage timestamp behavior, honestly 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