about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-03-27 00:04:15 +0200
committerzowoq <59103226+zowoq@users.noreply.github.com>2023-03-27 08:42:29 +1000
commit056be64f11fe2ee33373f07abda4d8cf6fabf572 (patch)
tree84cb518ecc7bfc400166086cdff552ed8804e290 /nixos/modules/virtualisation
parent6f558d3009c20cd2decc5b36057f78a033a6ff11 (diff)
nixos/podman: add example to enable network dns
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r--nixos/modules/virtualisation/podman/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/podman/default.nix b/nixos/modules/virtualisation/podman/default.nix
index b7db1a81b0216..c3fae4bac41b3 100644
--- a/nixos/modules/virtualisation/podman/default.nix
+++ b/nixos/modules/virtualisation/podman/default.nix
@@ -142,6 +142,7 @@ in
     defaultNetwork.settings = lib.mkOption {
       type = json.type;
       default = { };
+      example = lib.literalExpression "{ dns_enabled = true; }";
       description = lib.mdDoc ''
         Settings for podman's default network.
       '';