*: make eval.config.krebs.build.host.name work everywhere
This commit is contained in:
parent
47567807bb
commit
d724a6abf3
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -28,7 +28,7 @@ let
|
|||
|
||||
out = {
|
||||
options.makefu.snapraid = api;
|
||||
config = mkIf cfg.enable imp;
|
||||
config = lib.mkIf cfg.enable imp;
|
||||
};
|
||||
|
||||
api = {
|
||||
|
|
|
@ -32,7 +32,7 @@ let
|
|||
|
||||
out = {
|
||||
options.makefu.umts = api;
|
||||
config = mkIf cfg.enable imp;
|
||||
config = lib.mkIf cfg.enable imp;
|
||||
};
|
||||
|
||||
api = {
|
||||
|
|
Loading…
Reference in a new issue