This repository has no description
390 B
11 lines
1{ config, pkgs, ... }:
2{
3 krebs.sync-containers3.containers.news = {
4 sshKey = "${config.krebs.secret.directory}/news.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 git+https://cgit.lassul.us/stockholm#news switch
9 '';
10 };
11}