Commit 1710270f79fd

Vincent Demeester <vincent@sbr.pm>
2022-01-10 15:26:43
systems/aomi: enable virtualisation.containers
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 627c845
Changed files (1)
systems
systems/hosts/aomi.nix
@@ -143,6 +143,22 @@ in
     };
   };
 
+  virtualisation.podman.enable = true;
+  virtualisation.containers = {
+    enable = true;
+    registries = {
+      search = [ "registry.fedoraproject.org" "registry.access.redhat.com" "registry.centos.org" "docker.io" "quay.io" ];
+    };
+    policy = {
+      default = [{ type = "insecureAcceptAnything"; }];
+      transports = {
+        docker-daemon = {
+          "" = [{ type = "insecureAcceptAnything"; }];
+        };
+      };
+    };
+  };
+
   # Move this to a "builder" role
   users.extraUsers.builder = {
     isNormalUser = true;