diff --git a/README.md b/README.md index 9293362..2f84fbe 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ Add `intel_pstate=disable` to the options in `/boot/entries/linux.conf` #### Copy system files ```shell sudo cp sysctl/etc/sysctld.d/80-gamecompatibility.conf /etc/sysctl.d/ +sudo cp zram/etc/systemd/zram-generator.conf /etc/systemd/ ``` #### Install yay diff --git a/zram/etc/systemd/zram-generator.conf b/zram/etc/systemd/zram-generator.conf new file mode 100644 index 0000000..5d278ad --- /dev/null +++ b/zram/etc/systemd/zram-generator.conf @@ -0,0 +1,2 @@ +[zram0] +zram-size = ram / 2