nixos/zram-generator: do not require zram to be a module

This commit is contained in:
Nick Cao
2024-01-03 12:08:30 -05:00
parent 6621eab9b1
commit 9eeabd33d2
@@ -27,7 +27,7 @@ in
config = lib.mkIf cfg.enable {
system.requiredKernelConfig = with config.lib.kernelConfig; [
(isModule "ZRAM")
(isEnabled "ZRAM")
];
systemd.packages = [ cfg.package ];