pinwheel: Add module for podman
This commit is contained in:
18
hosts/pinwheel/modules/podman/default.nix
Normal file
18
hosts/pinwheel/modules/podman/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
|
||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||
dockerCompat = true;
|
||||
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.alex = {
|
||||
home.packages = [ pkgs.podman-compose ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user