Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Commit

Permalink
fixed nix
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Dec 9, 2023
1 parent 2982ee0 commit 716a213
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nixos-modules/zia-server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ in
type = lib.types.attrsOf (lib.types.submodule ({ config, name, ... }: {
options = {
enable = lib.mkEnableOption (lib.mdDoc "Zia Server.");
listen-addr = {
listen-addr = lib.mkOption {
type = lib.types.str;
description = lib.mkDoc "The socket address zia should be listening on.";
default = null;
};
upstream = {
upstream = lib.mkOption {
types = lib.types.str;
description = lib.mkDoc "The socket address of the udp upstream zia should redirect all traffic to.";
default = null;
};
mode = {
mode = lib.mkOption {
types = lib.types.enum [ "ws" ];
description = lib.mkDoc "The mode zia sould be listening with.";
default = "ws";
Expand Down

0 comments on commit 716a213

Please sign in to comment.