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 = {
|
options = {
|
||||||
|
|
||||||
services.tftpd.enable = mkOption {
|
services.tftpd.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to enable the anonymous FTP user.
|
Whether to enable tftpd, a Trivial File Transfer Protocol server.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.tftpd.path = mkOption {
|
services.tftpd.path = mkOption {
|
||||||
|
type = types.path;
|
||||||
default = "/home/tftp";
|
default = "/home/tftp";
|
||||||
description = ''
|
description = ''
|
||||||
Where the tftp server files are stored
|
Where the tftp server files are stored.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user