blob: 7654fbb3c8641026223e5bd4da285e3a59af14b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{
config,
lib,
pkgs,
...
}: let
cfg = config.getchoo.base.virtualisation;
inherit (lib) mkEnableOption mkIf;
in {
options.getchoo.base.virtualisation.enable = mkEnableOption "enable podman";
config.virtualisation = mkIf cfg.enable {
podman = {
enable = true;
enableNvidia = true;
extraPackages = with pkgs; [podman-compose];
};
oci-containers.backend = "podman";
};
}
|