nixpkgs-suyu/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 nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
console.nix
debug-info.nix
gnu.nix
i18n.nix nixos i18n.supportedLocales: increase systemPackages priority 2020-06-11 10:22:20 +02:00
iproute2.nix
ldap.nix nixos/ldap: move nss database configuration into ldap module 2020-05-11 16:14:50 +02:00
locale.nix
malloc.nix nixos/malloc: fix Scudo 2020-11-17 09:11:31 -05:00
networking.nix nixos/networking: Add the FQDN and hostname to /etc/hosts 2020-05-25 14:06:25 +02:00
no-x-libs.nix nixos/no-x-libs: add networkmanager-sstp 2020-10-21 00:04:02 +02:00
nsswitch.nix nixos/nsswitch: improve error message 2020-05-11 16:14:51 +02:00
power-management.nix nixos/power-management: always run systemctl of the currently running systemd 2020-05-21 10:28:29 +02:00
pulseaudio.nix Merge pull request #103225 from gebner/hsphfpd 2020-11-11 19:56:35 +01:00
qt5.nix nixos/qt5: support adwaita-dark theme 2020-04-05 08:38:08 +03:00
resolvconf.nix nixos/resolvconf: always run systemctl of the currently running systemd 2020-05-21 10:29:22 +02:00
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