feat: enable zram

This commit is contained in:
Patrick 2024-08-09 16:44:39 +02:00
parent 3e7b2e5f97
commit c5940d32f8
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 2 additions and 0 deletions

View file

@ -65,6 +65,7 @@
"nvidia-drm.modeset=1"
"nvidia.NVreg_PreserveVideoMemoryAllocations=1"
];
zramSwap.enable = true;
services.netbird.enable = true;
# Do not cleanup nix store to prevent having to rebuild packages onca a month

View file

@ -35,6 +35,7 @@
# nvidia hardware video decode
# https:#github.com/elFarto/nvidia-vaapi-driver
"media.ffmpeg.vaapi.enabled" = true;
"gfx.webrender.all" = true;
"media.rdd-ffmpeg.enabled" = true;
"gfx.x11-egl.force-enabled" = true;
# enable if grapics card support av1