This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / 2configs / green-host.nix
692 B 18 lines
1{ config, pkgs, ... }: 2{ 3 krebs.sync-containers3.containers.green = { 4 sshKey = config.clanCore.facts.services.green-container.secret."green.sync.key".path; 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 clanCore.facts.services.green-container = { 12 secret."green.sync.key" = { }; 13 generator.script = ":"; 14 generator.prompt = '' 15 copy or reference the secret key from the container into here, so we can actually start/sync the container 16 ''; 17 }; 18}