mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-28 20:31:51 +01:00
35 lines
720 B
Nix
35 lines
720 B
Nix
{
|
|
mylib,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
imports = mylib.scanPaths ./.;
|
|
|
|
# environment.systemPackages = with pkgs; [
|
|
# podman-compose
|
|
# ];
|
|
|
|
virtualisation = {
|
|
docker.enable = true;
|
|
# 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;
|
|
# # Periodically prune Podman resources
|
|
# autoPrune = {
|
|
# enable = true;
|
|
# dates = "weekly";
|
|
# flags = [ "--all" ];
|
|
# };
|
|
# };
|
|
|
|
oci-containers = {
|
|
backend = "docker";
|
|
};
|
|
};
|
|
}
|