module: Fix broken defaults for the address to listen on

This commit is contained in:
Tristan Daniël Maat 2022-10-14 12:16:51 +01:00
parent 3155d665ff
commit 5d037f9122
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -16,9 +16,7 @@ in {
options = {
services.tlaternet-webserver = {
enable = mkEnableOption "tlaternet web server";
listen = mkOption {
type = submodule {
options = {
listen = {
addr = mkOption {
type = str;
description = "IP address.";
@ -33,8 +31,6 @@ in {
};
};
};
};
};
config = mkIf cfg.enable {
systemd.services.tlaternet-webserver = {