1 { config, lib, pkgs, ... }:
11 enable = mkEnableOption (lib.mdDoc "GNUstep Distributed Objects name server");
18 config = mkIf config.services.gdomap.enable {
19 # NOTE: gdomap runs as root
20 # TODO: extra user for gdomap?
21 systemd.services.gdomap = {
22 description = "gdomap server";
23 wantedBy = [ "multi-user.target" ];
24 after = [ "network.target" ];
25 path = [ pkgs.gnustep.base ];
26 serviceConfig.ExecStart = "${pkgs.gnustep.base}/bin/gdomap -f";