DISNIX-SERVICE(8)

πŸ“¦ version 0.10.2, in nixos 26.05, nixpkgs unstable

πŸ’… 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 Β© 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