feat(memory): declare 'memory' module
check / lint (push) Successful in 15s

This commit is contained in:
hektor committed 2026-10-24 13:22:38 +02:00
1 parent f3876cdf87
commit bb2f0dcd29
6 files changed
+44 -9

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
{ lib, ... }:
{
imports = [
./oom.nix
./zram.nix
];
options.memory = {
oom.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
zram.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
}