dotfiles/modules/virtualisation/podman.nix

21 lines
326 B
Nix
Raw Permalink Normal View History

2022-07-15 13:11:54 +02:00
{ config
, lib
, ...
}:
with lib;
let
cfg = config.my.virtualisation.podman;
in
{
2022-10-15 20:00:09 +02:00
options.my.virtualisation.podman.enable = mkEnableOption "podman";
2022-07-15 13:11:54 +02:00
config = mkIf cfg.enable {
virtualisation.podman = {
enable = true;
dockerCompat = true;
2023-01-26 10:57:16 +01:00
defaultNetwork.settings.dns_enabled = true;
2022-07-15 13:11:54 +02:00
};
};
}