mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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