This commit is contained in:
albert 2024-04-19 13:05:09 +09:00
parent 472300ded4
commit f8ba23384d
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
6 changed files with 1137 additions and 0 deletions

View file

@ -14,6 +14,7 @@
./wireguard.nix
./cron.nix
./firewall.nix
./docker
];
environment.systemPackages = [

View file

@ -0,0 +1,6 @@
{}: {
import = [
./internal
./external
];
}

View file

@ -0,0 +1,5 @@
{}: {
imports = [
];
}

View file

@ -0,0 +1,5 @@
{}: {
imports = [
./it-tools.nix
];
}

View file

@ -0,0 +1,37 @@
{ ... }: {
virtualisation.oci-containers.containers."it-tools" = {
image = "docker.io/fredliang/derper";
container_name = "it-tools";
log-driver = "journald";
restart = "always";
depends_on = [
"promtail"
"traefik-int"
];
labels = {
type = "internal";
traefik = {
enable = true;
docker.network = "sysctlio_default";
http = {
routers.it-tools = {
tls.enable = "true";
tls.certresolver = "letsencrypt-int";
entrypoints = "web-secure-int";
rule = "Host(`sysctl.io`)";
};
services.it-tools = {
loadbalancer.server.port = 80;
};
};
};
# Flame Configs
flame = {
icon = "home";
type = "app";
url = "https://sysctl.io";
name = "Cyberchef";
};
};
};
}

1083
out.txt Normal file

File diff suppressed because it is too large Load diff