Remove tlms-borken vm. change branch for tlms-tram-borzoi

This commit is contained in:
Markus Schmidl 2023-11-16 21:55:07 +01:00
parent 20fbfaa34f
commit 7a2a738520
1 changed files with 5 additions and 11 deletions

View File

@ -2,23 +2,17 @@
let
microvms = {
staging-data-hoarder.flakeref = "git+https://github.com/tlm-solutions/nix-config";
borken-data-hoarder.flakeref = "git+file:///tmp/dump-dvb-borken";
tram-borzoi.flakeref = "git+file:///tmp/dump-dvb-borzoi";
tram-borzoi.flakeref = "git+file:///tmp/tlms-tram-borzoi";
};
realizeFlake = with pkgs; "${writeScriptBin "realize-flake" ''
#! ${runtimeShell} -e
set -x
NAME=$1
if [ $NAME = "borken-data-hoarder" ]; then
SRC_NIX_CONFIG=https://github.com/dump-dvb/nix-config.git
BRANCH=borken
DIR_NIX_CONFIG=dump-dvb-borken
elif [ $NAME = "tram-borzoi" ]; then
SRC_NIX_CONFIG=https://github.com/dump-dvb/nix-config.git
BRANCH=borken
DIR_NIX_CONFIG=dump-dvb-borzoi
if [ $NAME = "tram-borzoi" ]; then
SRC_NIX_CONFIG=https://github.com/tlm-solutions/nix-config.git
BRANCH=master
DIR_NIX_CONFIG=tlms-tram-borzoi
elif [ $NAME = "staging-data-hoarder" ]; then
echo "staging-data-hoarder: no need for flake magic"