diff options
author | Leroy Hopson <git@leroy.geek.nz> | 2015-07-04 18:49:05 +1200 |
---|---|---|
committer | Leroy Hopson <git@leroy.geek.nz> | 2016-02-27 22:25:39 +1300 |
commit | 3fc6470515902a60f7f0684e2106a203c3478653 (patch) | |
tree | 6d3bfa92db845b9824ab75bc5c872a1418da692e /nixos/modules/programs | |
parent | 3e326efffcf962a3d60d169bf18e0ad515fe7dee (diff) | |
download | nixlib-3fc6470515902a60f7f0684e2106a203c3478653.tar nixlib-3fc6470515902a60f7f0684e2106a203c3478653.tar.gz nixlib-3fc6470515902a60f7f0684e2106a203c3478653.tar.bz2 nixlib-3fc6470515902a60f7f0684e2106a203c3478653.tar.lz nixlib-3fc6470515902a60f7f0684e2106a203c3478653.tar.xz nixlib-3fc6470515902a60f7f0684e2106a203c3478653.tar.zst nixlib-3fc6470515902a60f7f0684e2106a203c3478653.zip |
nixos/freetds: fix formatting of example
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/freetds.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nixos/modules/programs/freetds.nix b/nixos/modules/programs/freetds.nix index 398fd104363b..e0860a242b74 100644 --- a/nixos/modules/programs/freetds.nix +++ b/nixos/modules/programs/freetds.nix @@ -17,14 +17,14 @@ in environment.freetds = mkOption { type = types.attrsOf types.str; default = {}; - example = { - MYDATABASE = - '' - host = 10.0.2.100 - port = 1433 - tds version = 7.2 - ''; - }; + example = literalExample '' + { MYDATABASE = ''' + host = 10.0.2.100 + port = 1433 + tds version = 7.2 + '''; + } + ''; description = '' Configure freetds database entries. Each attribute denotes |