From ca11f6106c0ab82de3297e3c9136d124f53e2e55 Mon Sep 17 00:00:00 2001 From: eneller Date: Tue, 28 Nov 2023 17:37:07 +0100 Subject: [PATCH] add docker --- configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index ca84b1c..878e4a3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -109,11 +109,16 @@ users.users.snow = { isNormalUser = true; description = "snow"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "docker" ]; packages = with pkgs; [ ]; }; + virtualisation.docker.rootless = { + enable = true; + setSocketVariable = true; + }; + # Allow unfree packages nixpkgs.config.allowUnfree = true;