commit 1710270f79fda3df468bf5a5d888e62e45133fa7 parent 627c84529706493670dd0a372831ee586e446c16 Author: Vincent Demeester <vincent@sbr.pm> Date: Mon, 10 Jan 2022 15:26:43 +0100 systems/aomi: enable virtualisation.containers Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | systems/hosts/aomi.nix | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/systems/hosts/aomi.nix b/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;