sysadmin: build-machines: Use tmpfs for /var/guix/temproots.

* hydra/modules/sysadmin/build-machines.scm (build-machine-os)
[file-systems]: Add tmpfs file-system for /var/guix/temproots.
This commit is contained in:
Efraim Flashner 2023-10-01 10:47:24 +03:00
parent 50ec77a07e
commit 0e62b8664e
Signed by untrusted user: efraim
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 11 additions and 5 deletions

View File

@ -64,11 +64,17 @@ HOST-NAME and accessibly by SYSADMINS, with the given AUTHORIZED-GUIX-KEYS."
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))
(file-systems (cons (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
%base-file-systems))
(file-systems (cons* (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
(file-system
(device "tmpfs")
(mount-point "/var/guix/temproots")
(type "tmpfs")
(flags '(no-suid no-dev no-exec))
(check? #f))
%base-file-systems))
(services (cons* (service sysadmin-service-type sysadmins)
(service openssh-service-type)