|
|
@ -5,8 +5,17 @@ let
|
|
|
|
cfg = config.r6d.config-generator;
|
|
|
|
cfg = config.r6d.config-generator;
|
|
|
|
computers = config.r6d.computers;
|
|
|
|
computers = config.r6d.computers;
|
|
|
|
profiles = config.r6d.profiles;
|
|
|
|
profiles = config.r6d.profiles;
|
|
|
|
in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Note that we use 'import <nixpkgs> {}' instead of 'pkgs'.
|
|
|
|
|
|
|
|
# If we use the latter we get an infinite recursion
|
|
|
|
|
|
|
|
# because we include hydra-src in the module imports below which in turn defines the 'pkgs' value.
|
|
|
|
|
|
|
|
hydra-src = (import <nixpkgs> {}).fetchgit {
|
|
|
|
|
|
|
|
url = "https://github.com/NixOS/hydra.git";
|
|
|
|
|
|
|
|
rev = "de55303197d997c4fc5503b52b1321ae9528583d";
|
|
|
|
|
|
|
|
sha256 = "0nimqsbpjxfwha6d5gp6a7jh50i83z1llmx30da4bscsic8z1xly";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
mkIf cfg.hydra-core {
|
|
|
|
mkIf cfg.hydra-core {
|
|
|
|
|
|
|
|
|
|
|
|
# Paquets
|
|
|
|
# Paquets
|
|
|
@ -43,6 +52,7 @@ mkIf cfg.hydra-core {
|
|
|
|
listenHost = "localhost";
|
|
|
|
listenHost = "localhost";
|
|
|
|
minimumDiskFree = 50; # Go
|
|
|
|
minimumDiskFree = 50; # Go
|
|
|
|
smtpHost = "localhost";
|
|
|
|
smtpHost = "localhost";
|
|
|
|
|
|
|
|
package = lib.mkDefault ((import (hydra-src + /release.nix) {}).build.x86_64-linux);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
## Ménage
|
|
|
|
## Ménage
|
|
|
|