From e2689c1c98c1d09faf1a2d2af4284d8409e462fc Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Thu, 24 Aug 2023 08:47:19 +0800 Subject: nixos/zram-generator: drop outdated comments --- nixos/modules/services/system/zram-generator.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'nixos/modules/services/system') diff --git a/nixos/modules/services/system/zram-generator.nix b/nixos/modules/services/system/zram-generator.nix index 3595ba917553..5902eda55696 100644 --- a/nixos/modules/services/system/zram-generator.nix +++ b/nixos/modules/services/system/zram-generator.nix @@ -30,10 +30,6 @@ in (isModule "ZRAM") ]; - # Disabling this for the moment, as it would create and mkswap devices twice, - # once in stage 2 boot, and again when the zram-reloader service starts. - # boot.kernelModules = [ "zram" ]; - systemd.packages = [ cfg.package ]; systemd.services."systemd-zram-setup@".path = [ pkgs.util-linux ]; # for mkswap -- cgit 1.4.1