Skip to content

Commit

Permalink
add podman
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Sawyer committed May 22, 2024
1 parent cc131cd commit 7b09935
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions home/sawyer-dev-vio.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ let
# openssl # conflicts with libressl
pinentry
pkg-config
podman
redis
scons
sd
Expand Down Expand Up @@ -187,6 +188,45 @@ in
# source = ./terminal/terminfo-24bit.src;
# target = homeDirectory + "/.config/terminfo-24bit.src";
# };
file."registries.config" = {
target = homeDirectory + "/.config/containers/registries.config";
text = ''
unqualified-search-registries = ["docker.io", "quay.io","voltera.azurecr.io"]
'';
};
file."policy.json" = {
target = homeDirectory + "/.config/containers/policy.json";
text = ''
{
"default": [
{
"type": "reject"
}
],
"transports": {
"dir": {
"": [
{
"type": "insecureAcceptAnything"
}
]
},
"docker": {
"docker.io": [
{
"type": "insecureAcceptAnything"
}
],
"volterra.azurecr.io": [
{
"type": "insecureAcceptAnything"
}
]
}
}
}
'';
};
};
programs.home-manager.enable = true;
programs.direnv.enable = true;
Expand Down

0 comments on commit 7b09935

Please sign in to comment.