From 0ca4b6910e259de8f514a9f258cd1e8daaa34545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 11 Jun 2024 09:30:29 -0300 Subject: [PATCH] docker: format config --- system/containers.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/system/containers.nix b/system/containers.nix index 377647d..19698e5 100644 --- a/system/containers.nix +++ b/system/containers.nix @@ -1,10 +1,18 @@ { pkgs, ... }: { services.flatpak.enable = true; - virtualisation.docker.enable = true; - virtualisation.docker.autoPrune.enable = true; - virtualisation.docker.autoPrune.dates = "monthly"; - virtualisation.docker.autoPrune.flags = [ "--all --volumes" ]; + + virtualisation.docker = { + enable = true; + autoPrune = { + enable = true; + dates = "monthly"; + flags = [ + "--all" + "--volumes" + ]; + }; + }; programs.extra-container.enable = true;