summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2017-02-05 03:06:56 +0300
committerNikolay Amiantov <ab@fmap.me>2017-02-05 03:17:38 +0300
commit9a11dda5fdd55061382c8214a954ef70a0805ddb (patch)
treefb0cb8c8c52932a9174871d1c044f6695481020a
parent5b043ea3614cacff75984f96b9bdd7df770450f3 (diff)
downloadnixpkgs-9a11dda5fdd55061382c8214a954ef70a0805ddb.tar
nixpkgs-9a11dda5fdd55061382c8214a954ef70a0805ddb.tar.gz
nixpkgs-9a11dda5fdd55061382c8214a954ef70a0805ddb.tar.bz2
nixpkgs-9a11dda5fdd55061382c8214a954ef70a0805ddb.tar.lz
nixpkgs-9a11dda5fdd55061382c8214a954ef70a0805ddb.tar.xz
nixpkgs-9a11dda5fdd55061382c8214a954ef70a0805ddb.tar.zst
nixpkgs-9a11dda5fdd55061382c8214a954ef70a0805ddb.zip
nfsd service: don't run exportfs
It's run by service already.
-rw-r--r--nixos/modules/services/network-filesystems/nfsd.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/services/network-filesystems/nfsd.nix b/nixos/modules/services/network-filesystems/nfsd.nix
index a0368f1280a..7d127145101 100644
--- a/nixos/modules/services/network-filesystems/nfsd.nix
+++ b/nixos/modules/services/network-filesystems/nfsd.nix
@@ -139,7 +139,6 @@ in
 
     systemd.services.nfs-mountd =
       { enable = true;
-        path = [ pkgs.nfs-utils ];
         restartTriggers = [ exports ];
 
         preStart =
@@ -155,8 +154,6 @@ in
                 | xargs -d '\n' mkdir -p
               ''
             }
-
-            exportfs -rav
           '';
       };