summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/databases/firebird.nix
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2021-10-03 18:06:03 +0200
committerNaïm Favier <n@monade.li>2021-10-04 12:47:20 +0200
commit2ddc335e6f32b875e14ad9610101325b306a0add (patch)
tree2a4591c137cb363a6ec09f529d587a10aa7a0bc7 /nixos/modules/services/databases/firebird.nix
parent330b1e08b8df4e1f0100a0a7810ec3157749e5ee (diff)
nixos/doc: clean up defaults and examples
Diffstat (limited to 'nixos/modules/services/databases/firebird.nix')
-rw-r--r--nixos/modules/services/databases/firebird.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/nixos/modules/services/databases/firebird.nix b/nixos/modules/services/databases/firebird.nix
index 0815487d4a1f..4e3130bea22f 100644
--- a/nixos/modules/services/databases/firebird.nix
+++ b/nixos/modules/services/databases/firebird.nix
@@ -44,11 +44,9 @@ in
package = mkOption {
default = pkgs.firebird;
- defaultText = "pkgs.firebird";
+ defaultText = literalExpression "pkgs.firebird";
type = types.package;
- example = ''
- <code>package = pkgs.firebird_3;</code>
- '';
+ example = literalExpression "pkgs.firebird_3";
description = ''
Which Firebird package to be installed: <code>pkgs.firebird_3</code>
For SuperServer use override: <code>pkgs.firebird_3.override { superServer = true; };</code>
@@ -56,7 +54,7 @@ in
};
port = mkOption {
- default = "3050";
+ default = 3050;
type = types.port;
description = ''
Port Firebird uses.