hotfix (options): delete zram option
This commit is contained in:
parent
b1fc29cf4f
commit
18e2fbf5a1
2 changed files with 4 additions and 23 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in a new issue