home: Adjust file system mount options.

* guix/scripts/home.scm (spawn-home-container): Add ‘options’ field to
the /run/user/$UID and ‘home-directory’ file systems.

Change-Id: Ic6d987fe186f9c49718f15c71867953a20f2fb68
This commit is contained in:
Ludovic Courtès 2025-08-29 11:38:31 +02:00
parent b71c347e3c
commit 75e45d4eea
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -362,11 +362,13 @@ immediately. Return the exit status of the process in the container."
(in-vicinity "/run/user" ;for shepherd & co.
(number->string uid)))
(type "tmpfs")
(options "size=10%,mode=700")
(check? #f))
(file-system ;writable home
(device "none")
(mount-point home-directory)
(type "tmpfs")
(options "mode=700")
(check? #f)))
#:mappings (append network-mappings mappings)
#:guest-uid uid