Files
nixos/modules/nixos/podman.nix
T
Greg Hellings b7d66709ca Make podman enablement a personal module
Podman needs some configuration, so I'm splitting it out to its own
module
2025-05-14 21:22:13 -05:00

22 lines
328 B
Nix

{
config,
lib,
pkgs,
...
}:
let
cfg = config.greg.podman;
in
{
options.greg.podman.enable = lib.mkEnableOption "Enable podman in NixOS with my updates";
config.virtualisation.podman = lib.mkIf cfg.enable {
enable = true;
dockerCompat = true;
extraPackages = [
pkgs.podman-compose
];
};
}