about summary refs log tree commit diff
path: root/nixos/modules/services/system
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-08-24 08:47:19 +0800
committerNick Cao <nickcao@nichi.co>2023-08-24 08:47:19 +0800
commite2689c1c98c1d09faf1a2d2af4284d8409e462fc (patch)
tree781c2821a1e40af135bc64580675a18a7c6c55b6 /nixos/modules/services/system
parent0814089e0591faeb74ef09f3c12e9daacbe396d3 (diff)
downloadnixlib-e2689c1c98c1d09faf1a2d2af4284d8409e462fc.tar
nixlib-e2689c1c98c1d09faf1a2d2af4284d8409e462fc.tar.gz
nixlib-e2689c1c98c1d09faf1a2d2af4284d8409e462fc.tar.bz2
nixlib-e2689c1c98c1d09faf1a2d2af4284d8409e462fc.tar.lz
nixlib-e2689c1c98c1d09faf1a2d2af4284d8409e462fc.tar.xz
nixlib-e2689c1c98c1d09faf1a2d2af4284d8409e462fc.tar.zst
nixlib-e2689c1c98c1d09faf1a2d2af4284d8409e462fc.zip
nixos/zram-generator: drop outdated comments
Diffstat (limited to 'nixos/modules/services/system')
-rw-r--r--nixos/modules/services/system/zram-generator.nix4
1 files changed, 0 insertions, 4 deletions
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