DISNIX-SERVICE(8)
π NAME π
okay so bestie, let me introduce you to disnix-service β it's the daemon that exposes all your Nix/Dysnomia deployment operations as a D-Bus service. yes, that kind of service. iconic behavior fr fr π
β¨ SYNOPSIS β¨
disnix-service [OPTION]
like, that's it. one command, all the vibes π
π¦ DESCRIPTION π¦
so disnix-service is a daemon, right? and it runs on either the D-Bus system bus or the session bus, and what it does is give you remote access to a whole bunch of deployment operations β think importing, exporting, activating and deactivating services. the whole lil deployment friend group π
ngl, on its own the daemon is not very useful, because it requires a wrapper that exposes the methods to remote users. it's giving "main character who refuses to leave the house without their emotional support extrovert". the simplest wrapper you can use is literally just running a SSH server and using the disnix-ssh-client from the client machines. that's the low-effort slay π
but you can also use other wrappers, which are basically thin layers that map the RPC protocol calls to D-Bus calls. for example, a web service layer and client is also available from the Disnix webpage, which lets a user use SOAP for executing deployment operations instead of SSH. so many routes to the same destination, we love options π
πΈ OPTIONS πΈ
-D,--daemonβ daemonize the service instead of running it in the foreground. it's giving "go be mysterious in the background" π«Ά--session-busβ register the Disnix service on the session bus instead of the system bus. super useful for testing, iykyk β¨--log-dirβ specifies the directory where the logfiles are stored (defaults to:/var/log/disnix) π--pid-fileβ specifies the location where the PID file of the daemon is stored (defaults to:/var/run/disnix-service.pid) π₯--log-fileβ specifies to which file the general daemon output messages should be logged (defaults to:/var/log/disnix.log) π-h,--helpβ shows the usage of this command to the user. your friendly lil helper π-v,--versionβ shows the version of this command to the user. the flex we all deserve π
π COPYRIGHT π
Copyright Β© 2008-2022 Sander van der Burg π
and that's the whole page, bestie! this manual is from disnix 0.10.2, dated January 1980 (yes, that January 1980 β vintage af but we stan a timeless icon π°οΈβ¨). periodt. π π
π¦ 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