From d03ef276a51a2a45f45b79e47f131f01bc2083c7 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 29 May 2025 09:34:08 -0400 Subject: [PATCH] containers: mount /media as read-only Necessary when passing cdemu mount points to the wine container. --- modules/containers.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/containers.nix b/modules/containers.nix index a37aaac9..08d2034f 100644 --- a/modules/containers.nix +++ b/modules/containers.nix @@ -21,6 +21,11 @@ let isReadOnly = false; }; + media = rec { + hostPath = "/media"; + mountPoint = hostPath; + }; + waylandDisplay = rec { hostPath = "/run/user/1000"; mountPoint = hostPath;