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
This commit is contained in:
parent
847ed4ef13
commit
33784421aa
|
@ -20,8 +20,6 @@ with lib;
|
|||
options = {
|
||||
enable = mkEnableOption "this Syndicate dataspace server instance";
|
||||
|
||||
runInDbusSession = mkEnableOption "dbus-run-session wrapper";
|
||||
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
example = "jane";
|
||||
|
@ -62,10 +60,7 @@ with lib;
|
|||
value = let
|
||||
serviceConfig = {
|
||||
RuntimeDirectory = name;
|
||||
ExecStart = "${
|
||||
lib.optionalString cfg.runInDbusSession
|
||||
"${pkgs.dbus}/bin/dbus-run-session "
|
||||
}${cfg.package}/bin/syndicate-server --no-banner --config ${configFile}";
|
||||
ExecStart = "${cfg.package}/bin/syndicate-server --no-banner --config ${configFile}";
|
||||
User = cfg.user;
|
||||
};
|
||||
in {
|
||||
|
|
Loading…
Reference in New Issue