11 cfg = config.services.owamp;
18 services.owamp.enable = mkEnableOption "OWAMP server";
23 config = mkIf cfg.enable {
26 description = "Owamp daemon";
30 users.groups.owamp = { };
32 systemd.services.owamp = {
33 description = "Owamp server";
34 wantedBy = [ "multi-user.target" ];
37 ExecStart = "${pkgs.owamp}/bin/owampd -R /run/owamp -d /run/owamp -v -Z ";
43 RuntimeDirectory = "owamp";
44 StateDirectory = "owamp";
45 AmbientCapabilities = "cap_net_bind_service";