From 31a4c4060a7d26e2f03c9fafad2d39e5de0919db Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Fri, 25 Oct 2024 16:17:58 +0200 Subject: [PATCH] chore(docker): Add users to group --- nixos/modules/virtualisation/docker/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/modules/virtualisation/docker/default.nix b/nixos/modules/virtualisation/docker/default.nix index 2218ff3..51b9319 100644 --- a/nixos/modules/virtualisation/docker/default.nix +++ b/nixos/modules/virtualisation/docker/default.nix @@ -12,6 +12,11 @@ in { enableOnBoot = false; }; + # Updated version of deprecated enableNvidia. hardware.nvidia-container-toolkit.enable = true; + + sisyphus.users.wantedGroups = [ + "docker" + ]; }; }