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