From ea497dac74189cf665ae6335a2eb57241c3023fd Mon Sep 17 00:00:00 2001 From: Spotlight Date: Tue, 21 Jan 2025 16:29:45 -0600 Subject: [PATCH] cyclone: Enable NVIDIA Docker container toolkit --- hosts/linux/cyclone/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/linux/cyclone/configuration.nix b/hosts/linux/cyclone/configuration.nix index 3e2d71a..7bcb982 100644 --- a/hosts/linux/cyclone/configuration.nix +++ b/hosts/linux/cyclone/configuration.nix @@ -100,6 +100,14 @@ programs.steam.enable = true; + # Docker support + boot.kernel.sysctl."net.ipv4.ip_forward" = true; + networking.firewall.trustedInterfaces = [ "docker0" ]; + users.users.spotlight.extraGroups = [ "docker" ]; + virtualisation.docker.enable = true; + # Docker NVIDIA runtime support + hardware.nvidia-container-toolkit.enable = true; + # Please do not change this without reviewing release notes upstream. system.stateVersion = "24.11"; }