Reaktor extraconfig is extensible

This commit is contained in:
makefu 2015-09-04 23:01:41 +02:00
parent 6bcda8fa7b
commit 6099a42734
3 changed files with 2 additions and 7 deletions

View File

@ -58,7 +58,7 @@ let
};
extraConfig = mkOption {
default = "";
type = types.str;
type = types.string;
description = ''
configuration appended to the default or overridden configuration
'';

View File

@ -8,8 +8,6 @@ let
echo "$PRETTY_NAME"
'';
in {
krebs.Reaktor.enable = true;
krebs.Reaktor.nickname = "test-reaktor";
krebs.Reaktor.extraConfig = ''
public_commands.insert(0,{
'capname' : "nixos-version",

View File

@ -9,10 +9,7 @@ let
gnused
lentil]);
in {
krebs.Reaktor.enable = true;
krebs.Reaktor.debug = true;
# krebs.Reaktor.nickname = "test-reaktor";
# TODO: make origin variable
# TODO: make origin a variable, <- module is generic enough to handle different origins, not only stockholm
krebs.Reaktor.extraConfig = ''
public_commands.insert(0,{
'capname' : "stockholm-issue",