fix(docker): better configuration handling, add back podman-compose
This commit is contained in:
parent
e8200048fa
commit
f4e805677e
@ -17,9 +17,10 @@ in {
|
|||||||
config = {
|
config = {
|
||||||
environment.systemPackages = mkIf cfg.podman.enable [
|
environment.systemPackages = mkIf cfg.podman.enable [
|
||||||
pkgs.podman-desktop
|
pkgs.podman-desktop
|
||||||
|
pkgs.podman-compose
|
||||||
];
|
];
|
||||||
virtualisation = {
|
virtualisation = mkIf cfg.enable {
|
||||||
docker = mkIf (cfg.enable && !cfg.podman.enable) {
|
docker = mkIf (!cfg.podman.enable) {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableNvidia = cfg.nvidia.enable;
|
enableNvidia = cfg.nvidia.enable;
|
||||||
autoPrune.enable = cfg.autoprune.enable;
|
autoPrune.enable = cfg.autoprune.enable;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user