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