nixos/zram-generator: do not require zram to be a module
This commit is contained in:
@@ -27,7 +27,7 @@ in
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
system.requiredKernelConfig = with config.lib.kernelConfig; [
|
||||
(isModule "ZRAM")
|
||||
(isEnabled "ZRAM")
|
||||
];
|
||||
|
||||
systemd.packages = [ cfg.package ];
|
||||
|
||||
Reference in New Issue
Block a user