refactor(actualbudget): default guest limits

This commit is contained in:
2026-08-11 08:30:32 -04:00
parent 67a91d11e9
commit 369f130d65
2 changed files with 8 additions and 7 deletions

View File

@@ -38,6 +38,13 @@ in
}
];
guests.actualbudget.mounts.${dataDir}.hostPath = cfg.dataPath;
guests.actualbudget = {
mounts.${dataDir}.hostPath = cfg.dataPath;
limits = {
memory = lib.mkDefault "2G";
cpu = lib.mkDefault "200%";
tasksMax = lib.mkDefault 512;
};
};
};
}

View File

@@ -76,15 +76,9 @@
guests.actualbudget = {
enable = true;
autoStart = false;
vlan = 20;
mac = "BC:24:11:C1:CD:28";
dataPath = "/pikachu/data/actualbudget";
limits = {
memory = "2G";
cpu = "200%";
tasksMax = 512;
};
};
environment.systemPackages = with pkgs; [