diff --git a/guests/actualbudget.nix b/guests/actualbudget.nix index b81e2eb..f22edd2 100644 --- a/guests/actualbudget.nix +++ b/guests/actualbudget.nix @@ -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; + }; + }; }; } diff --git a/hosts/pikachu/default.nix b/hosts/pikachu/default.nix index 507ecb6..43adb6f 100644 --- a/hosts/pikachu/default.nix +++ b/hosts/pikachu/default.nix @@ -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; [