Commit Graph

15 Commits

Author SHA1 Message Date
Emery Hemingway 42e809cf9e Remove "with lib" from NixOS module 2023-11-30 12:22:49 +02:00
Emery Hemingway 33784421aa nixos/syndicate-server: remove runInDbusSession option
DBus is a mess that we shouldn't get involved in. If you need DBus then use a
tool that can start DBus as it might be expected and then extract the
communication endpoints with the preserve_process_environment utility.

https://git.syndicate-lang.org/ehmry/syndicate_utils#preserve_process_environment
2023-05-24 08:46:32 +01:00
Emery Hemingway 847ed4ef13 nixos/syndicate-server: use a static configuration
Configure the server with a configuration path that points into
the Nix store rather than a file that is generated at start-up.
2023-05-24 08:43:29 +01:00
Emery Hemingway 1a4e8de70f nixos/syndicate-server: do not restart or reload
Do not restart or reload a syndicate server service if anything
changes. The server should handle this on its own and spurious
restarts should be prevented if possible.
2023-05-15 22:39:25 +01:00
Emery Hemingway 6ac58483dd nixos: optionally wrap syndicate-server with dbus-run-session 2023-05-15 21:07:23 +01:00
Emery Hemingway 2cfb731c4f nixos: improve config loading for syndicate-server
Use an intermediary configuration file to allow configuration
reloading.
2023-05-15 21:07:23 +01:00
Emery Hemingway d7aadda36f nixos: add enabled dataspace servers to systemd wants 2023-05-15 21:07:23 +01:00
Emery Hemingway cc09df4d35 nixos: enable TTY dataspace server when enabled 2023-05-15 21:07:23 +01:00
Emery Hemingway b3b2b3e614 nixos: refactor dataspace server for TTYs 2023-05-15 21:07:23 +01:00
Emery Hemingway 392e335620 syndicate-rs-0.15.1 -> syndicate-server-0.24.0 2023-05-15 21:06:37 +01:00
Emery Hemingway abd2ba6f60 Refactor NixOS configuration of Syndicate server 2023-05-15 21:04:13 +01:00
Emery Hemingway 698b386931 nixos/syndicate-server: pick a reasonable group for the server 2021-11-12 14:29:37 +01:00
Emery Hemingway 1d46261bb6 nixos: trim flags cruft 2021-09-03 12:07:33 +02:00
Emery Hemingway ed04ecfd2e nixos: unix sockets don't need network.target 2021-09-03 12:02:14 +02:00
Emery Hemingway fd17c695c7 Add a NixOS module for the Syndicate server 2021-09-03 11:45:55 +02:00