Unverified Commit 8f7faf93 authored by Morgan Jones's avatar Morgan Jones
Browse files

nebula-lighthouse-service: review feedback

parent d43a6891
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@

- [dwl](https://codeberg.org/dwl/dwl), a compact, hackable compositor for Wayland based on wlroots. Available as [programs.dwl](#opt-programs.dwl.enable).

- [nebula-lighthouse-service](https://github.com/manuels/nebula-lighthouse-service), a public nebula lighthouse service. Avaliable as [services.nebula-lighthouse-service](#opt-services.nebula-lighthouse-service.enable).
- [nebula-lighthouse-service](https://github.com/manuels/nebula-lighthouse-service), a public Nebula VPN lighthouse service. Available as [services.nebula-lighthouse-service](#opt-services.nebula-lighthouse-service.enable).

- [angrr](https://github.com/linyinfeng/angrr), a service that automatically cleans up old auto GC roots. Available as [services.angrr](#opt-services.angrr.enable).

+3 −3
Original line number Diff line number Diff line
@@ -12,19 +12,19 @@ in
{

  options.services.nebula-lighthouse-service = {
    enable = lib.mkEnableOption ''If enabled, NixOS will enable a systemd unit for nebula-lighthouse-service'';
    enable = lib.mkEnableOption "nebula-lighthouse-service";
    settings = lib.mkOption {
      type = settingsFormat.type;
      default = { };
      description = ''
        Configuration for nebula-lighthouse-service.
      '';
      example = ''
      example = {
        max-port = 65535;
        min-port = 49152;
        "webserver.ip" = "127.0.0.1";
        "webserver.port" = 8080;
      '';
      };
    };
  };

+1 −1
Original line number Diff line number Diff line
@@ -1011,9 +1011,9 @@ in
    defaults.services.ncps.cache.dataPath = "/path/to/ncps";
  };
  ndppd = runTest ./ndppd.nix;
  nebula-lighthouse-service = runTest ./nebula-lighthouse-service.nix;
  nebula.connectivity = runTest ./nebula/connectivity.nix;
  nebula.reload = runTest ./nebula/reload.nix;
  nebula-lighthouse-service = runTest ./nebula-lighthouse-service.nix;
  neo4j = runTest ./neo4j.nix;
  netbird = runTest ./netbird.nix;
  netbox-upgrade = runTest ./web-apps/netbox-upgrade.nix;
+9 −1
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  python3Packages,
  nebula,
  nixosTests,
  nix-update-script,
}:

python3Packages.buildPythonApplication rec {
@@ -28,6 +29,7 @@ python3Packages.buildPythonApplication rec {
      --replace-fail 'uvicorn==0.35.0' 'uvicorn' \
      --replace-fail 'python-multipart==0.0.20' 'python-multipart'
  '';

  build-system = with python3Packages; [
    setuptools
    wheel
@@ -50,8 +52,14 @@ python3Packages.buildPythonApplication rec {
    nebula-lighthouse-service = nixosTests.nebula-lighthouse-service;
  };

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Public Nebula VPN Lighthouse Service, you can use it in case you don’t have a publicly accessible server to run your own Nebula Lighthouse";
    description = "Public Nebula VPN Lighthouse Service";
    longDescription = ''
      In case you don't have a publicly accessible server to run your own Nebula VPN lighthouse,
      you can use a public nebula-lighthouse-service instance without passing traffic through it.
    '';
    homepage = "https://github.com/manuels/nebula-lighthouse-service";
    license = lib.licenses.agpl3Only;
    platforms = lib.platforms.linux;