nixos/spacecookie: use nix style strings for description
This commit is contained in:
parent
b596339ee0
commit
6b577f46b4
1 changed files with 12 additions and 3 deletions
|
@ -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.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue