nixos/spacecookie: use nix style strings for description

This commit is contained in:
sternenseemann 2020-12-28 00:08:45 +01:00 committed by sterni
parent b596339ee0
commit 6b577f46b4

View file

@ -18,19 +18,28 @@ in {
hostname = mkOption {
type = types.str;
default = "localhost";
description = "The hostname the service is reachable via. Clients will use this hostname for further requests after loading the initial gopher menu.";
description = ''
The hostname the service is reachable via. Clients
will use this hostname for further requests after
loading the initial gopher menu.
'';
};
port = mkOption {
type = types.port;
default = 70;
description = "Port the gopher service should be exposed on.";
description = ''
Port the gopher service should be exposed on. The
firewall is not opened automatically.
'';
};
root = mkOption {
type = types.path;
default = "/srv/gopher";
description = "The root directory spacecookie serves via gopher.";
description = ''
The root directory spacecookie serves via gopher.
'';
};
};
};