Add zram to tachikoma
systems/tachikoma.scm
18 | 18 | (use-modules (gnu)) | |
19 | 19 | (use-modules (gnu system)) | |
20 | 20 | (use-modules (gnu bootloader) (gnu bootloader grub)) | |
21 | + | (use-modules (gnu services linux)) | |
21 | 22 | (use-modules (gnu services virtualization)) | |
22 | 23 | (use-modules (config os)) | |
23 | 24 | ||
… | |||
50 | 51 | (operating-system-users system))) | |
51 | 52 | (services | |
52 | 53 | (cons* | |
54 | + | (service zram-device-service-type | |
55 | + | (zram-device-configuration | |
56 | + | (size "2G") | |
57 | + | (compression-algorithm 'zstd))) | |
53 | 58 | (service libvirt-service-type | |
54 | 59 | (libvirt-configuration | |
55 | 60 | (unix-sock-group "libvirt"))) |