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
@ -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 New Issue
Block a user