nix/nixos/hosts/piaware-rpi4/podman.nix
2023-12-15 20:04:15 +09:00

21 lines
No EOL
478 B
Nix

{ lib, pkgs, ... }: {
# Runtime
virtualisation.podman = {
enable = true;
autoPrune.enable = true;
dockerCompat = true;
defaultNetwork.settings = {
# Required for container networking to be able to use names.
dns_enabled = true;
};
};
virtualisation.oci-containers.backend = "podman";
# Containers
imports = [
./podman/piaware.nix
];
environment.systemPackages = [ pkgs.ctop ];
}