nftable-migration
 1_: {
 2  virtualisation = {
 3    containerd = {
 4      enable = true;
 5    };
 6    buildkitd = {
 7      enable = true;
 8      settings = {
 9        grpc = {
10          # This can be overridden per host
11          address = [ "unix:///run/buildkit/buildkitd.sock" ];
12        };
13        worker.oci = {
14          enabled = false;
15        };
16        worker.containerd = {
17          enabled = true;
18          platforms = [
19            "linux/amd64"
20            "linux/arm64"
21          ];
22          namespace = "buildkit";
23        };
24        # FIXME: change thoses
25        registry = {
26          "r.svc.home:5000" = {
27            http = true;
28            insecure = true;
29          };
30          "r.svc.home" = {
31            http = true;
32            insecure = true;
33          };
34        };
35      };
36    };
37  };
38}