mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
ad62155cb6
This allows capping the total amount of memory that will be used for zram-swap, in addition to the percentage-based calculation, which is useful when blanket-applying a configuration to many machines. This is based off the strategy used by Fedora for their rollout of zram-swap-by-default in Fedora 33 (https://fedoraproject.org/wiki/Changes/SwapOnZRAM), which caps the maximum amount of memory used for zram at 4GiB. In future it might be good to port this to the systemd zram-generator, instead of using this separate infrastructure. |
||
---|---|---|
.. | ||
fonts | ||
gtk | ||
krb5 | ||
xdg | ||
appstream.nix | ||
console.nix | ||
debug-info.nix | ||
gnu.nix | ||
i18n.nix | ||
iproute2.nix | ||
ldap.nix | ||
locale.nix | ||
malloc.nix | ||
networking.nix | ||
no-x-libs.nix | ||
nsswitch.nix | ||
power-management.nix | ||
pulseaudio.nix | ||
qt5.nix | ||
resolvconf.nix | ||
shells-environment.nix | ||
swap.nix | ||
sysctl.nix | ||
system-environment.nix | ||
system-path.nix | ||
terminfo.nix | ||
unix-odbc-drivers.nix | ||
update-users-groups.pl | ||
users-groups.nix | ||
vte.nix | ||
zram.nix |