From 26a34669d07fd76304d535f9274504f845fcfd58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Mon, 30 Sep 2024 11:49:48 -0300 Subject: [PATCH] phantom: add docker --- hosts/phantom/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/phantom/default.nix b/hosts/phantom/default.nix index ad4c42e..84b2a5d 100644 --- a/hosts/phantom/default.nix +++ b/hosts/phantom/default.nix @@ -56,6 +56,18 @@ identityPaths = [ "/root/.ssh/id_rsa" ]; }; + virtualisation.docker = { + enable = true; + daemon.settings = { + # needed by bitbucket runner ??? + log-driver = "json-file"; + log-opts = { + max-size = "10m"; + max-file = "3"; + }; + }; + }; + nix.settings = { cores = 1; max-jobs = 1;