hydra-module.nix: Make it possible to add extra config lines

[?]
Sep 22, 2013, 11:20 PM
4J33F22TRXXW3WRI3KAF7DQZXQ7JH3A5XBNR7BJCKK7OFUF4AHSQC

Dependencies

Change contents

  • replacement in hydra-module.nix at line 10
    [3.78][2.309:353](),[2.353][3.123:271](),[3.123][3.123:271]()
    hydraConf = pkgs.writeScript "hydra.conf"
    ''
    using_frontend_proxy 1
    base_uri ${cfg.hydraURL}
    notification_sender ${cfg.notificationSender}
    max_servers 25
    '';
    [3.78]
    [2.354]
    hydraConf = pkgs.writeScript "hydra.conf" cfg.extraConfig;
  • edit in hydra-module.nix at line 115
    [2.717]
    [3.2521]
    extraConfig = mkOption {
    type = types.lines;
    description = "Extra lines for the hydra config";
    };
  • edit in hydra-module.nix at line 128
    [3.2592]
    [3.2592]
    services.hydra.extraConfig =
    ''
    using_frontend_proxy 1
    base_uri ${cfg.hydraURL}
    notification_sender ${cfg.notificationSender}
    max_servers 25
    '';