Commit 50c7d4080689

Vincent Demeester <vincent@sbr.pm>
2026-01-12 15:29:47
chore(buildkit): remove unused buildkit configuration
- Delete systems/common/services/buildkit.nix (not imported by any host) - Remove commented buildkit.nix reference from aomi - Docker already has BuildKit support enabled via docker.daemon.settings
1 parent 8f346ca
Changed files (2)
systems
aomi
common
systems/aomi/extra.nix
@@ -19,7 +19,6 @@
     ../common/services/docker.nix
     ../common/services/libvirt.nix
     ../common/services/binfmt.nix
-    # ../common/services/buildkit.nix # maybe ?
     # ../common/services/oci-image-mirroring.nixi
     # ../common/services/ollama.nix # TODO handle nvidia vs not ?
     ../common/services/prometheus-exporters-node.nix
systems/common/services/buildkit.nix
@@ -1,38 +0,0 @@
-_: {
-  virtualisation = {
-    containerd = {
-      enable = true;
-    };
-    buildkitd = {
-      enable = true;
-      settings = {
-        grpc = {
-          # This can be overridden per host
-          address = [ "unix:///run/buildkit/buildkitd.sock" ];
-        };
-        worker.oci = {
-          enabled = false;
-        };
-        worker.containerd = {
-          enabled = true;
-          platforms = [
-            "linux/amd64"
-            "linux/arm64"
-          ];
-          namespace = "buildkit";
-        };
-        # FIXME: change thoses
-        registry = {
-          "r.svc.home:5000" = {
-            http = true;
-            insecure = true;
-          };
-          "r.svc.home" = {
-            http = true;
-            insecure = true;
-          };
-        };
-      };
-    };
-  };
-}