diff --git a/builder/data/etc/default/zramswap b/builder/data/etc/default/zramswap new file mode 100644 index 00000000..98f9b722 --- /dev/null +++ b/builder/data/etc/default/zramswap @@ -0,0 +1,15 @@ +# Specifies amount of zram devices to create. +# By default, zramswap-start will use all available cores. +#CORES=1 + +# Specifies the amount of RAM that should be used for zram +# based on a percentage the total amount of available memory +PERCENTAGE=60 + +# Specifies a static amount of RAM that should be used for +# the ZRAM devices, this is in MiB +#ALLOCATION=256 + +# Specifies the priority for the swap devices, see swapon(2) +# for more details. +#PRIORITY=100 \ No newline at end of file diff --git a/builder/raspberrypi64.yml b/builder/raspberrypi64.yml index 446d3b5b..6dbf9869 100644 --- a/builder/raspberrypi64.yml +++ b/builder/raspberrypi64.yml @@ -26,6 +26,7 @@ - fstrim.timer - pwnagotchi.service - pwngrid-peer.service + - zramswap.service disable: - apt-daily-upgrade.service - apt-daily-upgrade.timer