nixpkgs/nixos/modules
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
..
config nixos/zram: add zramSwap.memoryMax option 2020-11-25 13:43:38 +00:00
hardware nixos/acpilight: add to packages 2020-11-12 05:22:18 +03:00
i18n/input-method hime: fix enable hime, remove hime-all package 2020-10-17 10:48:31 +08:00
installer utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
misc nixos/openldap: switch to slapd.d configuration 2020-11-21 15:39:19 +00:00
profiles nixos/hardened: update blacklisted filesystems 2020-09-27 06:16:58 +00:00
programs utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
security Merge pull request #104776 from grahamc/utillinux 2020-11-24 15:14:36 -05:00
services nixos/factorio: Don't open firewall ports by default 2020-11-24 23:14:57 +01:00
system Merge pull request #102938 from cruegge/dev-symlinks 2020-11-25 01:57:21 +01:00
tasks nixos auto-upgrade: remove flag when flake 2020-11-25 08:34:04 +01:00
testing nixos/tests: only apply qemu parameters if the options are defined 2020-10-25 13:42:01 +01:00
virtualisation utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
module-list.nix nixos/samba-wsdd: init service samba-wsdd 2020-11-23 13:26:00 +03:00
rename.nix Merge pull request #91256 from prusnak/seeks 2020-09-18 16:32:33 +02:00