Update podman config

This commit is contained in:
Michael Thomas 2022-01-19 13:38:32 -05:00
parent 695006312e
commit 7f9a4ee006
2 changed files with 4 additions and 2 deletions

View File

@ -34,7 +34,7 @@ in
users.users.${defaultUser} = { users.users.${defaultUser} = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "docker" ]; extraGroups = [ "wheel" "docker" "podman" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };

View File

@ -3,10 +3,12 @@
# Enable Podman w/ docker compose compatibility # Enable Podman w/ docker compose compatibility
virtualisation.podman = { virtualisation.podman = {
enable = true; enable = true;
dockerCompat = true; dockerSocket.enable = true;
defaultNetwork.dnsname.enable = true;
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
docker-client
docker-compose docker-compose
]; ];
} }