module: Fix broken defaults for the address to listen on
This commit is contained in:
parent
3155d665ff
commit
5d037f9122
|
@ -16,21 +16,17 @@ in {
|
||||||
options = {
|
options = {
|
||||||
services.tlaternet-webserver = {
|
services.tlaternet-webserver = {
|
||||||
enable = mkEnableOption "tlaternet web server";
|
enable = mkEnableOption "tlaternet web server";
|
||||||
listen = mkOption {
|
listen = {
|
||||||
type = submodule {
|
addr = mkOption {
|
||||||
options = {
|
type = str;
|
||||||
addr = mkOption {
|
description = "IP address.";
|
||||||
type = str;
|
default = "127.0.0.1";
|
||||||
description = "IP address.";
|
};
|
||||||
default = "127.0.0.1";
|
|
||||||
};
|
|
||||||
|
|
||||||
port = mkOption {
|
port = mkOption {
|
||||||
type = int;
|
type = int;
|
||||||
description = "Port number.";
|
description = "Port number.";
|
||||||
default = 8000;
|
default = 8000;
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue