Move common host features to features-nixos folder
This commit is contained in:
10
features-nixos/optional/podman.nix
Normal file
10
features-nixos/optional/podman.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{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