diff options
author | tv <tv@krebsco.de> | 2017-12-14 10:17:40 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-12-14 10:17:40 +0100 |
commit | 02b5a5f33f9455cd83add77b5a93c0b6765d2b58 (patch) | |
tree | 3a9dc56d7a3606ee2ab999572214a790348a496b /jeschli/source.nix | |
parent | 6e985f09b70f5a4dbfe5d3aa1c9df0cefd672250 (diff) | |
parent | a95d6929ca8b54a2eec2b8a0bcd2ce71f835cf15 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'jeschli/source.nix')
-rw-r--r-- | jeschli/source.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/jeschli/source.nix b/jeschli/source.nix new file mode 100644 index 0000000..d5e14a8 --- /dev/null +++ b/jeschli/source.nix @@ -0,0 +1,22 @@ +with import <stockholm/lib>; +host@{ name, secure ? false, override ? {} }: let + builder = if getEnv "dummy_secrets" == "true" + then "buildbot" + else "jeschli"; + _file = <stockholm> + "/jeschli/1systems/${name}/source.nix"; +in + evalSource (toString _file) [ + { + nixos-config.symlink = "stockholm/jeschli/1systems/${name}/config.nix"; + nixpkgs.git = { + url = https://github.com/nixos/nixpkgs; + ref = "f9390d6"; + }; + secrets.file = getAttr builder { + buildbot = toString <stockholm/jeschli/2configs/tests/dummy-secrets>; + jeschli = "/home/jeschli/secrets/${name}"; + }; + stockholm.file = toString <stockholm>; + } + override + ] |