summaryrefslogtreecommitdiffstats
path: root/mv/source.nix
diff options
context:
space:
mode:
Diffstat (limited to 'mv/source.nix')
-rw-r--r--mv/source.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/mv/source.nix b/mv/source.nix
deleted file mode 100644
index 29dfe9723..000000000
--- 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
- ]