nixos/couchdb: add missing defaultText
This commit is contained in:
parent
7e28421e17
commit
55863f14ce
@ -1,9 +1,10 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, options, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.services.couchdb;
|
cfg = config.services.couchdb;
|
||||||
|
opt = options.services.couchdb;
|
||||||
configFile = pkgs.writeText "couchdb.ini" (
|
configFile = pkgs.writeText "couchdb.ini" (
|
||||||
''
|
''
|
||||||
[couchdb]
|
[couchdb]
|
||||||
@ -153,6 +154,7 @@ in {
|
|||||||
argsFile = mkOption {
|
argsFile = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "${cfg.package}/etc/vm.args";
|
default = "${cfg.package}/etc/vm.args";
|
||||||
|
defaultText = literalExpression ''"config.${opt.package}/etc/vm.args"'';
|
||||||
description = ''
|
description = ''
|
||||||
vm.args configuration. Overrides Couchdb's Erlang VM parameters file.
|
vm.args configuration. Overrides Couchdb's Erlang VM parameters file.
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user