*: make eval.config.krebs.build.host.name work everywhere

This commit is contained in:
tv 2016-02-15 16:29:01 +01:00
parent 47567807bb
commit d724a6abf3
4 changed files with 3 additions and 4 deletions

View file

@ -9,7 +9,7 @@
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
../. ../.
<nixpkgs/nixos/modules/profiles/qemu-guest.nix> <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
../2configs/cgit-retiolum.nix ../2configs/git/cgit-retiolum.nix
]; ];
krebs.build.host = config.krebs.hosts.repunit; krebs.build.host = config.krebs.hosts.repunit;

View file

@ -18,7 +18,6 @@ with config.krebs.lib;
enable = true; enable = true;
search-domain = "retiolum"; search-domain = "retiolum";
build = { build = {
target = mkDefault "root@${config.krebs.build.host.name}";
user = config.krebs.users.makefu; user = config.krebs.users.makefu;
source = mapAttrs (_: mkDefault) { source = mapAttrs (_: mkDefault) {
nixpkgs = { nixpkgs = {

View file

@ -28,7 +28,7 @@ let
out = { out = {
options.makefu.snapraid = api; options.makefu.snapraid = api;
config = mkIf cfg.enable imp; config = lib.mkIf cfg.enable imp;
}; };
api = { api = {

View file

@ -32,7 +32,7 @@ let
out = { out = {
options.makefu.umts = api; options.makefu.umts = api;
config = mkIf cfg.enable imp; config = lib.mkIf cfg.enable imp;
}; };
api = { api = {