summary refs log tree commit diff
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2016-10-17 16:14:08 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2016-10-25 17:20:52 +0200
commitcd1b09af5d85820926b9ce447ab678f13826eb85 (patch)
treef7daf875564c3af194d0ab54986f060ea4a613ea
parentd03dbfcbb83f3ab3c7619fc212cd81cfd9950f49 (diff)
downloadnixpkgs-cd1b09af5d85820926b9ce447ab678f13826eb85.tar
nixpkgs-cd1b09af5d85820926b9ce447ab678f13826eb85.tar.gz
nixpkgs-cd1b09af5d85820926b9ce447ab678f13826eb85.tar.bz2
nixpkgs-cd1b09af5d85820926b9ce447ab678f13826eb85.tar.lz
nixpkgs-cd1b09af5d85820926b9ce447ab678f13826eb85.tar.xz
nixpkgs-cd1b09af5d85820926b9ce447ab678f13826eb85.tar.zst
nixpkgs-cd1b09af5d85820926b9ce447ab678f13826eb85.zip
nixos/tftpd: change default dir from /home/tftp to /srv/tftp
/home is for real users. /srv is recommended by FHS (although there is
no consensus for what to name subdirs under /srv).
-rw-r--r--nixos/modules/services/networking/tftpd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/tftpd.nix b/nixos/modules/services/networking/tftpd.nix
index a41d2491a11..c9c0a2b321d 100644
--- a/nixos/modules/services/networking/tftpd.nix
+++ b/nixos/modules/services/networking/tftpd.nix
@@ -19,7 +19,7 @@ with lib;
 
     services.tftpd.path = mkOption {
       type = types.path;
-      default = "/home/tftp";
+      default = "/srv/tftp";
       description = ''
         Where the tftp server files are stored.
       '';