mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-12-23 15:22:12 -05:00
Update zram syntax
This commit is contained in:
parent
d8a7235a8a
commit
3abd684fa7
@ -78,7 +78,7 @@ org/gnome/desktop/media-handling/automount-open' | sudo tee /etc/dconf/db/local.
|
||||
sudo dconf update
|
||||
|
||||
# Setup ZRAM
|
||||
echo -e '[zram0]\nzram-size = min(ram, 8192)\ncompression-algorithm = zstd' | sudo tee /etc/systemd/zram-generator.conf
|
||||
echo -e '[zram0]\nzram-fraction = 1\nmax-zram-size = 8192\ncompression-algorithm = zstd' | sudo tee /etc/systemd/zram-generator.conf
|
||||
|
||||
# Speed up DNF
|
||||
echo -e 'fastestmirror=1\nmax_parallel_downloads=10\ndeltarpm=False\ndefaultyes=True\ninstall_weak_deps=False\ncountme=False' | sudo tee -a /etc/dnf/dnf.conf
|
||||
|
Loading…
Reference in New Issue
Block a user