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 { hostname = mkOption {
type = types.str; type = types.str;
default = "localhost"; 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 { port = mkOption {
type = types.port; type = types.port;
default = 70; 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 { root = mkOption {
type = types.path; type = types.path;
default = "/srv/gopher"; default = "/srv/gopher";
description = "The root directory spacecookie serves via gopher."; description = ''
The root directory spacecookie serves via gopher.
'';
}; };
}; };
}; };