hotfix (options): delete zram option

This commit is contained in:
Kirill Samoylenkov 2025-09-27 14:19:18 +05:00
parent b1fc29cf4f
commit 18e2fbf5a1
2 changed files with 4 additions and 23 deletions

View file

@ -1,22 +0,0 @@
{ lib, config, ... }:
let
cfg = device.zram;
in
{
options = {
device.zram = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Zram settings for the device.";
};
};
};
config = lib.mkIf cfg.enable {
zramSwap = {
enable = true;
memoryPercent = 100;
};
};
}