261 current 2025-10-11 02:26:00 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 02:39:30 -05:00
parent 1d7ac94c5d
commit 4abe7423c8

24
modules/system/podman.nix Normal file
View File

@@ -0,0 +1,24 @@
{ pkgs, config, lib, ... }:
let
cfg = config.modules.system.podman;
in
{
options.modules.system.podman = {
enable = lib.mkEnableOption "enables podman";
};
config = lib.mkIf cfg.enable {
virtualisation = {
oci-containers.backend = "podman";
podman = {
enable = true;
dockerCompat = true;
autoPrune.enable = true;
defaultNetwork.settings = {
dns_enabled = true;
};
};
};
};
}