This repository has no description
405 B
11 lines
1{ config, pkgs, ... }:
2{
3 krebs.sync-containers3.containers.green = {
4 sshKey = "${config.krebs.secret.directory}/green.sync.key";
5 startCommand = ''
6 export PATH=$PATH:${pkgs.git}/bin
7 until ${pkgs.dig.host}/bin/host github.com; do sleep 1; done
8 ${pkgs.nixos-rebuild}/bin/nixos-rebuild --refresh --flake github:lassulus/superconfig#green switch --no-write-lock-file
9 '';
10 };
11}