Compare commits
4 commits
0327f33d34
...
da9b32dbd5
Author | SHA1 | Date | |
---|---|---|---|
da9b32dbd5 | |||
0bd8e844b1 | |||
8fdde7e3e0 | |||
61d4104102 |
7 changed files with 48 additions and 7 deletions
|
@ -1,14 +1,19 @@
|
||||||
_: {
|
{lib, ...}: {
|
||||||
networking.firewall.allowedTCPPorts = [6167 8448];
|
networking.firewall.allowedTCPPorts = [6167 8448];
|
||||||
services.matrix-conduit = {
|
services.matrix-conduit = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
address = "0.0.0.0";
|
address = "0.0.0.0";
|
||||||
server_name = "forsen";
|
server_name = "matrix.notohh.dev";
|
||||||
allow_registration = true;
|
allow_registration = true;
|
||||||
allow_federation = true;
|
allow_federation = false;
|
||||||
allow_encryption = true;
|
allow_encryption = true;
|
||||||
|
log = "warn";
|
||||||
|
max_concurrent_requests = 100;
|
||||||
|
max_request_size = 20000000;
|
||||||
|
database_backend = "rocksdb";
|
||||||
|
enable_lightning_bolt = false;
|
||||||
trusted_servers = ["matrix.org"];
|
trusted_servers = ["matrix.org"];
|
||||||
};
|
};
|
||||||
};
|
};
|
|
@ -10,5 +10,7 @@
|
||||||
./dashdot.nix
|
./dashdot.nix
|
||||||
./grafana.nix
|
./grafana.nix
|
||||||
./vaultwarden.nix
|
./vaultwarden.nix
|
||||||
|
./atticd.nix
|
||||||
|
./conduit.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
uptime-kuma.loadBalancer.servers = [{url = "http://100.87.54.48:4000";}];
|
uptime-kuma.loadBalancer.servers = [{url = "http://100.87.54.48:4000";}];
|
||||||
gotify.loadBalancer.servers = [{url = "http://100.87.54.48:3000";}];
|
gotify.loadBalancer.servers = [{url = "http://100.87.54.48:3000";}];
|
||||||
neko.loadBalancer.servers = [{url = "http://100.110.140.130:8080";}];
|
neko.loadBalancer.servers = [{url = "http://100.110.140.130:8080";}];
|
||||||
conduit.loadBalancer.servers = [{url = "http://100.110.140.130:6167";}];
|
conduit.loadBalancer.servers = [{url = "http://100.121.201.47:6167";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
./dashdot.nix
|
./dashdot.nix
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./neko.nix
|
./neko.nix
|
||||||
./conduit.nix
|
./vikunja.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,11 @@ _: {
|
||||||
entrypoints = ["web"];
|
entrypoints = ["web"];
|
||||||
service = "jellyseerr";
|
service = "jellyseerr";
|
||||||
};
|
};
|
||||||
|
vikunja-frontend = {
|
||||||
|
rule = "Host(`vikunja.home.arpa`)";
|
||||||
|
entrypoints = ["web"];
|
||||||
|
service = "vikunja-frontend";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
|
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
|
||||||
|
@ -48,6 +53,7 @@ _: {
|
||||||
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
searxng.loadBalancer.servers = [{url = "http://localhost:8100";}];
|
||||||
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
|
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
|
||||||
jellyseerr.loadBalancer.servers = [{url = "http://localhost:5055";}];
|
jellyseerr.loadBalancer.servers = [{url = "http://localhost:5055";}];
|
||||||
|
vikunja-frontend.loadBalancer.servers = [{url = "http://localhost:6789";}];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
26
hosts/yuki/services/vikunja.nix
Normal file
26
hosts/yuki/services/vikunja.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
networking.firewall.allowedTCPPorts = [3456 6789];
|
||||||
|
|
||||||
|
virtualisation.oci-containers.containers.vikunja = {
|
||||||
|
image = "vikunja/api";
|
||||||
|
environment = {
|
||||||
|
VIKUNJA_SERVICE_FRONTENDURL = "vikunja.home.arpa";
|
||||||
|
};
|
||||||
|
ports = [
|
||||||
|
"3456:3456"
|
||||||
|
];
|
||||||
|
volumes = [
|
||||||
|
"/home/notoh/docker/vikunja/files:/app/vikunja/files"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
virtualisation.oci-containers.containers.vikunja-frontend = {
|
||||||
|
image = "vikunja/frontend";
|
||||||
|
ports = [
|
||||||
|
"6789:80"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
VIKUNJA_API_URL = "http://192.168.1.36:3456/api/v1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -24,8 +24,10 @@
|
||||||
sansSerif = ["Noto Sans" "Twitter Color Emoji"];
|
sansSerif = ["Noto Sans" "Twitter Color Emoji"];
|
||||||
emoji = ["Twitter Color Emoji"];
|
emoji = ["Twitter Color Emoji"];
|
||||||
};
|
};
|
||||||
|
hinting = {
|
||||||
hinting.style = "full";
|
enable = true;
|
||||||
|
style = "full";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue