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
785 B 24 lines
1{ config, pkgs, ... }: 2{ 3 krebs.sync-containers3.containers.orange = { 4 sshKey = "${config.krebs.secret.directory}/orange.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#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 services.nginx.virtualHosts."lassul.us" = { 16 # enableACME = config.security; 17 # forceSSL = true; 18 locations."/" = { 19 recommendedProxySettings = true; 20 proxyWebsockets = true; 21 proxyPass = "http://orange.r"; 22 }; 23 }; 24}