diff options
author | tv <tv@krebsco.de> | 2018-09-09 10:54:08 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-09-09 11:05:44 +0200 |
commit | e9dc8a9c8a5a594a17b0e66b4d19b2cc28dcd845 (patch) | |
tree | ba9e749e3c4fd4c4dc66a5937776c31854dc0000 /mv/source.nix | |
parent | 59e7140e165f72123dfca9c0d26e2dd1bcb577e2 (diff) |
mv: RIP
Diffstat (limited to 'mv/source.nix')
-rw-r--r-- | mv/source.nix | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/mv/source.nix b/mv/source.nix deleted file mode 100644 index 29dfe97..0000000 --- a/mv/source.nix +++ /dev/null @@ -1,30 +0,0 @@ -with import <stockholm/lib>; -host@{ name, override ? {} }: let - builder = if getEnv "dummy_secrets" == "true" - then "buildbot" - else "mv"; - _file = <stockholm> + "/mv/1systems/${name}/source.nix"; - pkgs = import <nixpkgs> { - overlays = map import [ - <stockholm/krebs/5pkgs> - <stockholm/submodules/nix-writers/pkgs> - ]; - }; -in - evalSource (toString _file) [ - { - nixos-config.symlink = "stockholm/mv/1systems/${name}/config.nix"; - nixpkgs.git = { - # nixos-17.09 - ref = mkDefault "0653b73bf61f3a23d28c38ab7e9c69a318d433de"; - url = https://github.com/NixOS/nixpkgs; - }; - secrets.file = getAttr builder { - buildbot = toString <stockholm/mv/dummy_secrets>; - mv = "/home/mv/secrets/${name}"; - }; - stockholm.file = toString <stockholm>; - stockholm-version.pipe = "${pkgs.stockholm}/bin/get-version"; - } - override - ] |