From dae673e57da1f1cfde3b26f9745c05c6ce6cc6e4 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Mon, 16 Jun 2025 22:10:57 -0700 Subject: [PATCH] change to module docker for torus --- provision/hosts/torus/configuration.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/provision/hosts/torus/configuration.nix b/provision/hosts/torus/configuration.nix index db9ac4ee..a57341d0 100644 --- a/provision/hosts/torus/configuration.nix +++ b/provision/hosts/torus/configuration.nix @@ -25,14 +25,6 @@ "net.ipv4.conf.all.forwarding" = true; # Needed for wireguard-server }; - # TODO: Update to docker from modules and ensure docker containers still work - # Enable virtualisation - virtualisation.docker = { - enable = true; - package = pkgs.docker_27; - storageDriver = "btrfs"; - }; - services.xserver.videoDrivers = ["nvidia"]; hardware.nvidia.open = false; @@ -82,7 +74,7 @@ locations."/" = { proxyPass = "http://localhost:8065/"; proxyWebsockets = true; - }; + }; }); "codeA.tstarr.us" = (SSL // { locations."/" = { @@ -103,6 +95,12 @@ modules = { base-plus.enable = true; physical.enable = true; + programs = { + docker = { + enable = true; + storageDriver = "btrfs"; + }; + }; services = { ssh.enable = true; syncthing = {