summary refs log tree commit diff
path: root/nixos/modules/services/networking/tftpd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/tftpd.nix')
-rw-r--r--nixos/modules/services/networking/tftpd.nix6
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.
       '';
     };