diff options
author | tv <tv@krebsco.de> | 2018-02-28 14:47:12 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-02-28 15:15:58 +0100 |
commit | 7c6325d0fbf6c9080f575d7608eb2e1942b52744 (patch) | |
tree | c12ff0ba908cf47cb09b0f883b15bcd5a8728ac9 /jeschli | |
parent | 6169d848f471ad37eaf675bc5ca33d4742ab4c09 (diff) |
os-release: use <stockholm-version>
Diffstat (limited to 'jeschli')
-rw-r--r-- | jeschli/source.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jeschli/source.nix b/jeschli/source.nix index 382dd61..fe1de8f 100644 --- a/jeschli/source.nix +++ b/jeschli/source.nix @@ -4,6 +4,11 @@ host@{ name, secure ? false, override ? {} }: let then "buildbot" else "jeschli"; _file = <stockholm> + "/jeschli/1systems/${name}/source.nix"; + pkgs = import <nixpkgs> { + overlays = map import [ + <stockholm/krebs/5pkgs> + ]; + }; in evalSource (toString _file) [ { @@ -17,6 +22,7 @@ in jeschli = "${getEnv "HOME"}/secrets/${name}"; }; stockholm.file = toString <stockholm>; + stockholm-version.pipe = "${pkgs.stockholm}/bin/get-version"; } override ] |