From 252f14287b909d3791ac2671771b58b2804e0dd3 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Sat, 11 May 2024 19:27:30 +0200 Subject: [PATCH] use docker rootless --- hosts/default/configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 4f5092b..fd23a9f 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -253,7 +253,13 @@ rec { ''); }; - virtualisation.docker.enable = true; + virtualisation.docker = { + enable = true; + rootless = { + enable = true; + setSocketVariable = true; + }; + }; boot.kernelModules = [ "v4l2loopback"