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 { extraConfig = mkOption {
default = ""; default = "";
type = types.str; type = types.string;
description = '' description = ''
configuration appended to the default or overridden configuration configuration appended to the default or overridden configuration
''; '';

View file

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

View file

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