From 1f80607ca031f6f4c2c6a4152e2f2802258c91c4 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 3 Apr 2024 09:16:18 -0400 Subject: [PATCH] meta: Merge zram module with system Self-explanatory since zram is system-related. Doesn't seem to affect containers which is good. --- modules/system.nix | 5 +++++ modules/zram.nix | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 modules/zram.nix diff --git a/modules/system.nix b/modules/system.nix index 46964b93..3f581c89 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -30,6 +30,11 @@ in }; }; + zramSwap = { + enable = true; + memoryPercent = 100; + }; + time.timeZone = "America/New_York"; i18n.defaultLocale = "ja_JP.UTF-8"; diff --git a/modules/zram.nix b/modules/zram.nix deleted file mode 100644 index 851c25b3..00000000 --- a/modules/zram.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ - zramSwap = { - enable = true; - memoryPercent = 100; - }; -}