This commit is contained in:
Aubrey 2024-12-22 01:29:30 -06:00
parent 03c63c0722
commit 5f85c68f9f
No known key found for this signature in database

View file

@ -32,7 +32,7 @@
nativeBuildInputs = with pkgs; [pkg-config cmake]; nativeBuildInputs = with pkgs; [pkg-config cmake];
buildInputs = with pkgs; buildInputs = with pkgs;
[ [
openssl openssl
zlib-ng zlib-ng
] ]
++ lib.optionals stdenv.isDarwin [ ++ lib.optionals stdenv.isDarwin [
@ -84,11 +84,11 @@
default = 1027; default = 1027;
description = "The UDP port to host the server on"; description = "The UDP port to host the server on";
}; };
proximity = { proximity = lib.mkOption {
type = types.nullOr lib.types.attrs; type = lib.types.nullOr lib.types.attrs;
default = null; default = null;
port = lib.mkOption { port = lib.mkOption {
type = types.nullOr lib.types.port; type = lib.types.port;
example = 4433; example = 4433;
description = "The UDP port to host the proximity chat server on"; description = "The UDP port to host the proximity chat server on";
}; };