summaryrefslogtreecommitdiff
path: root/etc/gnu-store.mount.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/gnu-store.mount.in')
-rw-r--r--etc/gnu-store.mount.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/gnu-store.mount.in b/etc/gnu-store.mount.in
new file mode 100644
index 0000000000..c94f2db72b
--- /dev/null
+++ b/etc/gnu-store.mount.in
@@ -0,0 +1,14 @@
+[Unit]
+Description=Read-only @storedir@ for GNU Guix
+DefaultDependencies=no
+ConditionPathExists=@storedir@
+Before=guix-daemon.service
+
+[Install]
+WantedBy=guix-daemon.service
+
+[Mount]
+What=@storedir@
+Where=@storedir@
+Type=none
+Options=bind,ro