This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
config = lib.mkIf (config.host.role == "embedded") {
|
||||
system.autoUpgrade.enable = false;
|
||||
nix.settings.max-jobs = 0;
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 100;
|
||||
};
|
||||
|
||||
services.journald.settings.Journal.SystemMaxUse = "100M";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user