Skip to content

Commit 9d8ec55

Browse files
committed
new
1 parent 5adc51e commit 9d8ec55

12 files changed

Lines changed: 81 additions & 8481 deletions

File tree

.terraform.lock.hcl

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hosts/neutrino/config.nix

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, inputs, ... }:
1+
{ lib, secrets, inputs, ... }:
22
let hostJson = builtins.fromJSON (builtins.readFile ./host.tf.json);
33
in {
44
imports = [
@@ -22,6 +22,23 @@ in {
2222
};
2323
};
2424
apps.tools.git.enable = true;
25+
26+
services.reverse_proxy.enable = true;
27+
};
28+
29+
secrets.cloudflare_tunnel = {
30+
services = [ "cloudflared-tunnel-a1ccbd88-00d5-4022-8589-40ad3240cdc9" ];
31+
}; # define
32+
33+
services.cloudflared = {
34+
enable = true;
35+
tunnels = {
36+
"a1ccbd88-00d5-4022-8589-40ad3240cdc9" = {
37+
credentialsFile = "${secrets.cloudflare_tunnel}/credentials.json"; # use
38+
default = "http_status:404";
39+
ingress = { "*.ioga.dev" = "http://localhost:80"; };
40+
};
41+
};
2542
};
2643

2744
impermanence.enable = true;

hosts/quark/config.nix

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)