nix/modules/system/services/podman.nix
2025-04-24 17:25:36 +02:00

25 lines
424 B
Nix

{ lib, config, ... }:
with lib;
let
cfg = config.settings.services.podman;
in {
options = {
settings.services.podman.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable podman configuration
'';
};
};
config = mkIf cfg.enable {
virtualisation.containers.enable = true;
virtualisation.podman = {
enable = true;
};
};
}