summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-06-08 18:06:47 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-06-08 18:06:47 +0200
commitfcdcfe2de1ab7c3507c8bb68b5fd347ab7f80c74 (patch)
treefc80390e190e04aeb8330522f475be313feac4b8 /nixos/modules/services
parent9dfb0b2db04a42815356e6eabba9fac92ccf4cc4 (diff)
parentb9565143eaa17b7b7e03612769ebc6ca24eddae0 (diff)
downloadnixlib-fcdcfe2de1ab7c3507c8bb68b5fd347ab7f80c74.tar
nixlib-fcdcfe2de1ab7c3507c8bb68b5fd347ab7f80c74.tar.gz
nixlib-fcdcfe2de1ab7c3507c8bb68b5fd347ab7f80c74.tar.bz2
nixlib-fcdcfe2de1ab7c3507c8bb68b5fd347ab7f80c74.tar.lz
nixlib-fcdcfe2de1ab7c3507c8bb68b5fd347ab7f80c74.tar.xz
nixlib-fcdcfe2de1ab7c3507c8bb68b5fd347ab7f80c74.tar.zst
nixlib-fcdcfe2de1ab7c3507c8bb68b5fd347ab7f80c74.zip
Merge branch 'master' into staging
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/misc/nix-daemon.nix12
-rw-r--r--nixos/modules/services/web-servers/minio.nix2
2 files changed, 8 insertions, 6 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index 429ce09ea68f..0ee105e4c6f1 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -130,11 +130,13 @@ in
         default = false;
         description = "
           If set, Nix will perform builds in a sandboxed environment that it
-          will set up automatically for each build.  This prevents
-          impurities in builds by disallowing access to dependencies
-          outside of the Nix store. This isn't enabled by default for
-          performance. It doesn't affect derivation hashes, so changing
-          this option will not trigger a rebuild of packages.
+          will set up automatically for each build. This prevents impurities
+          in builds by disallowing access to dependencies outside of the Nix 
+          store by using network and mount namespaces in a chroot environment. 
+          This isn't enabled by default for possible performance impacts due to 
+          the initial setup time of a sandbox for each build. It doesn't affect 
+          derivation hashes, so changing this option will not trigger a rebuild
+          of packages.
         ";
       };
 
diff --git a/nixos/modules/services/web-servers/minio.nix b/nixos/modules/services/web-servers/minio.nix
index 843f0d986877..7ead33483ea4 100644
--- a/nixos/modules/services/web-servers/minio.nix
+++ b/nixos/modules/services/web-servers/minio.nix
@@ -85,7 +85,7 @@ in
       '';
       serviceConfig = {
         PermissionsStartOnly = true;
-        ExecStart = "${cfg.package}/bin/minio server --address ${cfg.listenAddress} --config-dir=${cfg.configDir} ${cfg.dataDir}";
+        ExecStart = "${cfg.package}/bin/minio server --json --address ${cfg.listenAddress} --config-dir=${cfg.configDir} ${cfg.dataDir}";
         Type = "simple";
         User = "minio";
         Group = "minio";