summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";