From 8c57286c07334cee889d87929a43c145faf018dc Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Fri, 28 Jun 2024 08:25:21 +0200 Subject: [PATCH] add docker support --- hosts/server/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 66a8a63..1588bce 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -137,6 +137,14 @@ }; }; + virtualisation.docker = { + enable = true; + rootless = { + enable = true; + setSocketVariable = true; + }; + }; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];