*: 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.
../.
<nixpkgs/nixos/modules/profiles/qemu-guest.nix>
../2configs/cgit-retiolum.nix
../2configs/git/cgit-retiolum.nix
];
krebs.build.host = config.krebs.hosts.repunit;

View file

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

View file

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

View file

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