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

This commit is contained in:
tv 2016-02-15 16:29:01 +01:00
parent 8f520b19b6
commit b7a92f6388
8 changed files with 10 additions and 9 deletions

View File

@ -210,7 +210,7 @@ let
| ${pkgs.coreutils}/bin/head -1; }
'';
# Note that we don't escape word on purpose, so we deref shell vars.
# Note that we don't escape word on purpose, so we can deref shell vars.
# TODO type word
network-ssh-port = host: word: ''
case ${word} in

View File

@ -9,9 +9,9 @@ let
./apt-cacher-ng.nix
./backup.nix
./bepasty-server.nix
./build.nix
./buildbot/master.nix
./buildbot/slave.nix
./build.nix
./current.nix
./exim-retiolum.nix
./exim-smarthost.nix
@ -25,8 +25,8 @@ let
./nixpkgs.nix
./per-user.nix
./Reaktor.nix
./retiolum-bootstrap.nix
./realwallpaper.nix
./retiolum-bootstrap.nix
./retiolum.nix
./setuid.nix
./tinc_graphs.nix

View File

@ -3,7 +3,8 @@
let
in
with config.krebs.lib;
with builtins;
with lib;
{
options = {

View File

@ -6,7 +6,8 @@
#
#
with config.krebs.lib;
with builtins;
with lib;
let

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 = {