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:
parent
b26a6e8a23
commit
ee52a61e3a
1 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue