nixos/tftpd: add option types and fixup descriptions

The first description is a (incorrect) copy/paste from the 'vsftpd'
module, and the second option lacks a 'dot' at the end.
This commit is contained in:
Bjørn Forsman 2015-02-01 15:57:28 +01:00
parent b26a6e8a23
commit ee52a61e3a

View file

@ -9,16 +9,18 @@ with lib;
options = {
services.tftpd.enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable the anonymous FTP user.
Whether to enable tftpd, a Trivial File Transfer Protocol server.
'';
};
services.tftpd.path = mkOption {
type = types.path;
default = "/home/tftp";
description = ''
Where the tftp server files are stored
Where the tftp server files are stored.
'';
};