aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/modules/services/networking/3proxy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/modules/services/networking/3proxy.nix')
-rw-r--r--nixpkgs/nixos/modules/services/networking/3proxy.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/nixpkgs/nixos/modules/services/networking/3proxy.nix b/nixpkgs/nixos/modules/services/networking/3proxy.nix
index 26aa1667946..ae8a4958ca9 100644
--- a/nixpkgs/nixos/modules/services/networking/3proxy.nix
+++ b/nixpkgs/nixos/modules/services/networking/3proxy.nix
@@ -334,10 +334,12 @@ in {
nsrecord = mkOption {
type = types.attrsOf types.str;
default = { };
- example = {
- "files.local" = "192.168.1.12";
- "site.local" = "192.168.1.43";
- };
+ example = literalExample ''
+ {
+ "files.local" = "192.168.1.12";
+ "site.local" = "192.168.1.43";
+ }
+ '';
description = "Adds static nsrecords.";
};
};