summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-09-04 19:46:39 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-09-04 19:46:39 +0200
commit664d7aa4bdb48c15abb236fba86d21619595ee54 (patch)
tree0b7174f18b1bd9b3071f4d55aeb3b67e42e617e3
parent69792c7c2748f77ac461b1e7f7385f3c410e4d93 (diff)
downloadnixos-664d7aa4bdb48c15abb236fba86d21619595ee54.tar
nixos-664d7aa4bdb48c15abb236fba86d21619595ee54.tar.gz
nixos-664d7aa4bdb48c15abb236fba86d21619595ee54.tar.bz2
nixos-664d7aa4bdb48c15abb236fba86d21619595ee54.tar.xz
nixos-664d7aa4bdb48c15abb236fba86d21619595ee54.zip
better bind mount location
-rw-r--r--hel.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hel.nix b/hel.nix
index 37e5144c..26d55ca9 100644
--- a/hel.nix
+++ b/hel.nix
@@ -356,7 +356,7 @@
356 356
357 systemd.automounts = [ 357 systemd.automounts = [
358 { enable = true; 358 { enable = true;
359 where = "/run/media"; 359 where = "/run/media/var/media";
360 automountConfig = { 360 automountConfig = {
361 DirectoryMode = "700"; 361 DirectoryMode = "700";
362 }; 362 };
@@ -366,7 +366,7 @@
366 366
367 systemd.mounts = [ 367 systemd.mounts = [
368 { enable = true; 368 { enable = true;
369 where = "/run/media"; 369 where = "/run/media/var/media";
370 what = "/var/media"; 370 what = "/var/media";
371 type = "none"; 371 type = "none";
372 options = "bind"; 372 options = "bind";