This repository has no description
0

Configure Feed

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

configs.green-host: migrate facts to vars

+5 -5
+5 -5
2configs/green-host.nix
··· 1 1 { config, pkgs, ... }: 2 2 { 3 3 krebs.sync-containers3.containers.green = { 4 - sshKey = config.clanCore.facts.services.green-container.secret."green.sync.key".path; 4 + sshKey = config.clan.core.vars.generators.green-container.files."green.sync.key".path; 5 5 startCommand = '' 6 6 export PATH=$PATH:${pkgs.git}/bin 7 7 until ${pkgs.dig.host}/bin/host github.com; do sleep 1; done 8 8 ${pkgs.nixos-rebuild}/bin/nixos-rebuild --refresh --flake github:lassulus/superconfig#green switch --no-write-lock-file 9 9 ''; 10 10 }; 11 - clanCore.facts.services.green-container = { 12 - secret."green.sync.key" = { }; 13 - generator.script = ":"; 14 - generator.prompt = '' 11 + clan.core.vars.generators.green-container = { 12 + files."green.sync.key" = { }; 13 + script = ":"; 14 + prompt = '' 15 15 copy or reference the secret key from the container into here, so we can actually start/sync the container 16 16 ''; 17 17 };