mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
services: greetd: Create runfiles in a tmpfs.
Greetd's initial-session (i.e. auto-login) functionality requires runfiles to be deleted on shutdown. Use a tmpfs to ensure said runfiles do not linger. * gnu/services/base.scm (make-greetd-terminal-configuration-file): Add “runfile” to configuration. (%greetd-file-systems): Add a tmpfs for “/run/greetd/runfiles”. Change-Id: I07319d5d8bdb1e18fb0074b67d5c9cb9fb49b04a Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
e2fadf0083
commit
3d4620ab26
1 changed files with 9 additions and 0 deletions
|
|
@ -4029,6 +4029,7 @@ to handle."
|
|||
config-file-name
|
||||
"[general]\n"
|
||||
"source_profile = " (if source-profile? "true" "false") "\n"
|
||||
"runfile = /run/greetd/runfiles/greetd-" terminal-vt ".run\n"
|
||||
"[terminal]\n"
|
||||
"vt = " terminal-vt "\n"
|
||||
"switch = " (if terminal-switch "true" "false") "\n"
|
||||
|
|
@ -4050,6 +4051,14 @@ to handle."
|
|||
(check? #f)
|
||||
(flags '(no-suid no-dev no-exec))
|
||||
(options "mode=0755")
|
||||
(create-mount-point? #t))
|
||||
(file-system
|
||||
(device "none")
|
||||
(mount-point "/run/greetd/runfiles")
|
||||
(type "tmpfs")
|
||||
(check? #f)
|
||||
(flags '(no-suid no-dev no-exec))
|
||||
(options "mode=0755")
|
||||
(create-mount-point? #t))))
|
||||
|
||||
(define %greetd-pam-mount-rules
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue