diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-02-01 15:57:28 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-02-01 15:57:28 +0100 |
commit | ee52a61e3a5a7d13e11dde25750bb3179d545240 (patch) | |
tree | 0d86d5feb9a44a6b2ff70a45a34b56652342cc8d /nixos/modules/services/networking/tftpd.nix | |
parent | b26a6e8a23b84e2859152e56e9fbaa089773f30a (diff) | |
download | nixpkgs-ee52a61e3a5a7d13e11dde25750bb3179d545240.tar nixpkgs-ee52a61e3a5a7d13e11dde25750bb3179d545240.tar.gz nixpkgs-ee52a61e3a5a7d13e11dde25750bb3179d545240.tar.bz2 nixpkgs-ee52a61e3a5a7d13e11dde25750bb3179d545240.tar.lz nixpkgs-ee52a61e3a5a7d13e11dde25750bb3179d545240.tar.xz nixpkgs-ee52a61e3a5a7d13e11dde25750bb3179d545240.tar.zst nixpkgs-ee52a61e3a5a7d13e11dde25750bb3179d545240.zip |
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.
Diffstat (limited to 'nixos/modules/services/networking/tftpd.nix')
-rw-r--r-- | nixos/modules/services/networking/tftpd.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/tftpd.nix b/nixos/modules/services/networking/tftpd.nix index a2f7ff06ea6..9b3cc6b8ec4 100644 --- a/nixos/modules/services/networking/tftpd.nix +++ b/nixos/modules/services/networking/tftpd.nix @@ -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. ''; }; |