Start migration to using flake-parts
This commit is contained in:
12
features-nixos/optional/podman.nix
Normal file
12
features-nixos/optional/podman.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
flake.nixosModules.podman = {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