refactor(common): modularize common host module
check / lint (push) Successful in 14s

This commit is contained in:
2026-10-11 17:34:29 +02:00
parent deeffb8b8b
commit 7f5d7914c4
13 changed files with 124 additions and 81 deletions
+15
View File
@@ -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";
};
}