Merge pull request #20606 from mdaiter/riak_extraAdvancedConfig

riak: added extraAdvancedConfig option to service module
This commit is contained in:
Daiderd Jordan 2016-11-21 18:22:01 +01:00 committed by GitHub
commit c531cc2303

@ -70,6 +70,14 @@ in
'';
};
extraAdvancedConfig = mkOption {
type = types.lines;
default = "";
description = ''
Additional text to be appended to <filename>advanced.config</filename>.
'';
};
};
};
@ -90,6 +98,10 @@ in
${cfg.extraConfig}
'';
environment.etc."riak/advanced.config".text = ''
${cfg.extraAdvancedConfig}
'';
users.extraUsers.riak = {
name = "riak";
uid = config.ids.uids.riak;