22 lines
476 B
Nix
22 lines
476 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/derp.nix
|
||
|
];
|
||
|
|
||
|
environment.systemPackages = [ pkgs.ctop ];
|
||
|
}
|