diff --git a/nixos/syndicate-server.nix b/nixos/syndicate-server.nix index 0777764..51305e0 100644 --- a/nixos/syndicate-server.nix +++ b/nixos/syndicate-server.nix @@ -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 {