1 parent
9fcf5d68e0
commit
335c29ddfd
4 files changed
+32
-29
No files matched your search
@@ -0,0 +1,15 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
options.tmp.enable = lib.mkOption {
|
||||
default = config.host.highRam;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.tmp.enable {
|
||||
boot.tmp = {
|
||||
useTmpfs = true;
|
||||
tmpfsSize = "25%";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user