Clean up aspi and kardorf configs
This commit is contained in:
12
hosts/common/optional/podman.nix
Normal file
12
hosts/common/optional/podman.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
dockerEnabled = config.virtualisation.docker.enable;
|
||||
in
|
||||
{
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
dockerCompat = !dockerEnabled;
|
||||
dockerSocket.enable = !dockerEnabled;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user