From 49bf86357926d961ce2090e84accdb48de17a1b5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Mar 2022 19:43:29 -0800 Subject: containers: enable dockerd and containerd on aptos --- hosts/aptos/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix index 24f823e..f3ed313 100644 --- a/hosts/aptos/default.nix +++ b/hosts/aptos/default.nix @@ -10,6 +10,17 @@ boot = { initrd = { luks.devices."system".allowDiscards = true; }; }; + virtualisation.docker = { enable = true; }; + + virtualisation.containerd = { + enable = true; + settings = { + plugins."io.containerd.grpc.v1.cri" = { + containerd.snapshotter = "overlayfs"; + }; + }; + }; + # Use systemd-networkd for networking systemd.network = { enable = true; -- cgit 1.4.1