From 1954a19142ed905c7623269238873377ae8320b2 Mon Sep 17 00:00:00 2001 From: SindreKjelsrud Date: Tue, 30 Sep 2025 10:25:39 +0200 Subject: [PATCH] [wano] feat: Add docker virtualisation Signed-off-by: SindreKjelsrud --- hosts/wano/configuration.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/wano/configuration.nix b/hosts/wano/configuration.nix index cbee489..fd607de 100644 --- a/hosts/wano/configuration.nix +++ b/hosts/wano/configuration.nix @@ -78,10 +78,19 @@ users.users.sid = { isNormalUser = true; description = "sid"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "docker"]; packages = with pkgs; []; }; + # enable docker + virtualisation.docker.enable = true; + + # use docker without Root access (Rootless docker) + virtualisation.docker.rootless = { + enable = true; + setSocketVariable = true; + }; + # Home Manager home-manager = { extraSpecialArgs = { inherit inputs; };