nixpkgs/nixos/modules/config
Luke Granger-Brown ad62155cb6 nixos/zram: add zramSwap.memoryMax option
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.
2020-11-25 13:43:38 +00:00
..
fonts fontdir: add ttc to font regex 2020-10-26 10:45:22 +08:00
gtk
krb5 nixos/krb5: add list to example configuration 2020-08-25 17:18:56 +02:00
xdg
appstream.nix
console.nix
debug-info.nix
gnu.nix
i18n.nix
iproute2.nix
ldap.nix
locale.nix
malloc.nix nixos/malloc: fix Scudo 2020-11-17 09:11:31 -05:00
networking.nix
no-x-libs.nix nixos/no-x-libs: add networkmanager-sstp 2020-10-21 00:04:02 +02:00
nsswitch.nix
power-management.nix
pulseaudio.nix Merge pull request #103225 from gebner/hsphfpd 2020-11-11 19:56:35 +01:00
qt5.nix
resolvconf.nix
shells-environment.nix
swap.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
sysctl.nix
system-environment.nix
system-path.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
terminfo.nix
unix-odbc-drivers.nix
update-users-groups.pl Merge pull request #98544 from Mic92/unfuck-update-user-group 2020-11-20 10:28:52 -05:00
users-groups.nix nixos/system-path: Add mkpasswd(1) 2020-10-26 03:40:11 +01:00
vte.nix
zram.nix nixos/zram: add zramSwap.memoryMax option 2020-11-25 13:43:38 +00:00