mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-05 07:05:40 +01:00
Compare commits
No commits in common. "e5f317be8604ec0db1c13f019e6c4701855f9f5c" and "093108b2c2fc34062b0f91eb0b3bb8a6d659d9e2" have entirely different histories.
e5f317be86
...
093108b2c2
5 changed files with 20 additions and 47 deletions
|
|
@ -1,12 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
users.users.nginx.extraGroups = [ config.users.groups.anubis.name ];
|
||||
services.anubis = {
|
||||
defaultOptions = {
|
||||
enable = true;
|
||||
settings = {
|
||||
SERVE_ROBOTS_TXT = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,19 +1,12 @@
|
|||
{ config, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
services = {
|
||||
anubis.instances.binternet = {
|
||||
settings = {
|
||||
TARGET = "http://localhost:8081";
|
||||
BIND = ":8082";
|
||||
BIND_NETWORK = "tcp";
|
||||
};
|
||||
};
|
||||
nginx.virtualHosts."curate.liv.town" = {
|
||||
forceSSL = true;
|
||||
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||||
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost${toString config.services.anubis.instances.binternet.settings.BIND}";
|
||||
proxyPass = "http://localhost:8081";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
nginx.virtualHosts.${config.services.grafana.settings.server.domain} = {
|
||||
nginx.virtualHosts.${config.services.grafana.domain} = {
|
||||
forceSSL = true;
|
||||
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||||
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString config.services.grafana.settings.server.http_port}";
|
||||
proxyPass = "http://127.0.0.1:${toString config.services.grafana.port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,19 +1,12 @@
|
|||
{ config, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
services = {
|
||||
anubis.instances.librey = {
|
||||
settings = {
|
||||
TARGET = "http://localhost:8080";
|
||||
BIND = ":8079";
|
||||
BIND_NETWORK = "tcp";
|
||||
};
|
||||
};
|
||||
nginx.virtualHosts."search.liv.town" = {
|
||||
forceSSL = true;
|
||||
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||||
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost${toString config.services.anubis.instances.librey.settings.BIND}";
|
||||
proxyPass = "http://localhost:8080";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,25 +2,24 @@
|
|||
{
|
||||
imports =
|
||||
[ (import ./invidious.nix) ]
|
||||
++ [ (import ./anubis.nix) ]
|
||||
++ [ (import ./binternet-proxy.nix) ]
|
||||
++ [ (import ./docker.nix) ]
|
||||
++ [ (import ./frp.nix) ]
|
||||
++ [ (import ./forgejo.nix) ]
|
||||
++ [ (import ./grafana.nix) ]
|
||||
++ [ (import ./gokapi.nix) ]
|
||||
++ [ (import ./jellyfin.nix) ]
|
||||
++ [ (import ./librey-proxy.nix) ]
|
||||
++ [ (import ./lidarr.nix) ]
|
||||
++ [ (import ./matrix/default.nix) ]
|
||||
++ [ (import ./mumble.nix) ]
|
||||
++ [ (import ./monitoring.nix) ]
|
||||
++ [ (import ./ntfy.nix) ]
|
||||
++ [ (import ./sharkey-proxy.nix) ]
|
||||
++ [ (import ./librey-proxy.nix) ]
|
||||
++ [ (import ./binternet-proxy.nix) ]
|
||||
++ [ (import ./grafana.nix) ]
|
||||
++ [ (import ./monitoring.nix) ]
|
||||
++ [ (import ./docker.nix) ]
|
||||
++ [ (import ./gokapi.nix) ]
|
||||
++ [ (import ./nginx.nix) ]
|
||||
# ++ [(import ./komga.nix)]
|
||||
++ [ (import ./frp.nix) ]
|
||||
++ [ (import ./radicale.nix) ]
|
||||
++ [ (import ./readarr.nix) ];
|
||||
# ++ [(import ./smart-monitoring.nix)]
|
||||
# ++ [(import ./jitsi-meet.nix)]
|
||||
++ [ (import ./jellyfin.nix) ]
|
||||
++ [ (import ./readarr.nix) ]
|
||||
++ [ (import ./lidarr.nix) ]
|
||||
# ++ [(import ./smart-monitoring.nix)]
|
||||
# ++ [(import ./jitsi-meet.nix)]
|
||||
++ [ (import ./forgejo.nix) ]
|
||||
++ [ (import ./matrix/default.nix) ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue