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; };