mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
b71c347e3c
commit
75e45d4eea
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue