This repository has no description
0

Configure Feed

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

superconfig / 2configs / orange-host.nix
876 B 23 lines
1{ config, pkgs, ... }: 2{ 3 krebs.sync-containers3.containers.orange = { 4 sshKey = config.clan.core.vars.generators.orange-container.files."orange.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#orange switch --no-write-lock-file 9 ''; 10 }; 11 containers.orange.bindMounts."/var/lib" = { 12 hostPath = "/var/lib/sync-containers3/orange/state"; 13 isReadOnly = false; 14 }; 15 clan.core.vars.generators.orange-container = { 16 files."orange.sync.key" = { }; 17 migrateFact = "orange-container"; 18 prompts.warn = { 19 description = "copy or reference the secret key from the container into here, so we can actually start/sync the container"; 20 type = "hidden"; 21 }; 22 }; 23}