nixosMod/extends: add virtualisation.podman.compose.enable

main
Felix Stupp 2 months ago
parent ebd3ceade9
commit 8710890aed
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -3,6 +3,7 @@
imports = [
# directories
./extends
./frontend
./improvedDefaults
# files

@ -0,0 +1,6 @@
{
imports = [
# files
./podman.nix
];
}

@ -0,0 +1,17 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.podman;
in
{
options.virtualisation.podman = {
compose.enable = lib.mkEnableOption "podman-compose";
};
config.environment.systemPackages = lib.mkIf (cfg.enable && cfg.compose.enable) [
pkgs.podman-compose
];
}
Loading…
Cancel
Save