nix/nixos/hosts/piaware-rpi4/podman.nix

21 lines
478 B
Nix
Raw Normal View History

2023-12-13 14:53:20 +01:00
{ lib, pkgs, ... }: {
2023-12-15 12:04:15 +01:00
# 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
2023-12-13 14:53:20 +01:00
imports = [
./podman/piaware.nix
];
2023-12-15 12:04:15 +01:00
environment.systemPackages = [ pkgs.ctop ];
2023-12-13 14:53:20 +01:00
}