Merge 'cd/master'
This commit is contained in:
commit
e2126ae7ee
|
@ -22,18 +22,20 @@ with config.krebs.lib;
|
|||
search-domain = "retiolum";
|
||||
build = {
|
||||
user = config.krebs.users.makefu;
|
||||
source = mapAttrs (_: mkDefault) {
|
||||
nixpkgs = {
|
||||
source = let inherit (config.krebs.build) host user; in {
|
||||
nixpkgs.git = {
|
||||
url = https://github.com/nixos/nixpkgs;
|
||||
rev = "0546a4a"; # stable @ 2016-06-11
|
||||
};
|
||||
secrets = if getEnv "dummy_secrets" == "true"
|
||||
secrets.file =
|
||||
if getEnv "dummy_secrets" == "true"
|
||||
then toString <stockholm/makefu/6tests/data/secrets>
|
||||
else "/home/makefu/secrets/${config.krebs.build.host.name}";
|
||||
stockholm = "/home/makefu/stockholm";
|
||||
else "/home/makefu/secrets/${host.name}";
|
||||
stockholm.file = "/home/makefu/stockholm";
|
||||
|
||||
# Defaults for all stockholm users?
|
||||
nixos-config = "symlink:stockholm/${config.krebs.build.user.name}/1systems/${config.krebs.build.host.name}.nix";
|
||||
nixos-config.symlink =
|
||||
"stockholm/${user.name}/1systems/${host.name}.nix";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue