From ee52a61e3a5a7d13e11dde25750bb3179d545240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sun, 1 Feb 2015 15:57:28 +0100 Subject: [PATCH] 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. --- nixos/modules/services/networking/tftpd.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/tftpd.nix b/nixos/modules/services/networking/tftpd.nix index a2f7ff06ea61..9b3cc6b8ec4f 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. ''; };