tsuki/invidious: remove
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
./services/grafana
|
||||
./services/headscale.nix
|
||||
./services/hedgedoc.nix
|
||||
./services/invidious.nix
|
||||
./services/kanidm.nix
|
||||
./services/matrix
|
||||
./services/minecraft
|
||||
|
@@ -1,34 +0,0 @@
|
||||
{ config, ... }: let
|
||||
cfg = config.services.invidious;
|
||||
in {
|
||||
sops.secrets."postgres/invidious" = {
|
||||
restartUnits = [ "invidious.service" ];
|
||||
};
|
||||
|
||||
services.invidious = {
|
||||
enable = true;
|
||||
domain = "yt.nani.wtf";
|
||||
|
||||
port = 19283;
|
||||
|
||||
# This will implicitly use unix socket
|
||||
database = {
|
||||
createLocally = true;
|
||||
passwordFile = config.sops.secrets."postgres/invidious".path;
|
||||
};
|
||||
|
||||
settings = {
|
||||
registration_enabled = false;
|
||||
host_binding = "127.0.0.1";
|
||||
# popular_enabled = false;
|
||||
};
|
||||
};
|
||||
|
||||
local.socketActivation.invidious = {
|
||||
enable = cfg.enable;
|
||||
originalSocketAddress = "${cfg.settings.host_binding}:${toString cfg.port}";
|
||||
newSocketAddress = "/run/invidious.sock";
|
||||
privateNamespace = false;
|
||||
};
|
||||
}
|
||||
|
@@ -47,7 +47,6 @@
|
||||
"headscale".servers."localhost:${s srv.headscale.port}" = { };
|
||||
"hedgedoc".servers."unix:${srv.hedgedoc.settings.path}" = { };
|
||||
"idrac".servers."${ips.idrac}" = { };
|
||||
"invidious".servers."unix:${sa.invidious.newSocketAddress}" = { };
|
||||
"kanidm".servers."localhost:8300" = { };
|
||||
"osuchan".servers."localhost:${s ports.osuchan}" = { };
|
||||
"plex".servers."localhost:${s ports.plex}" = { };
|
||||
@@ -179,7 +178,6 @@
|
||||
# '';
|
||||
# };
|
||||
# })
|
||||
(proxy ["yt"] "http://invidious" {})
|
||||
|
||||
(host ["h7x4-stickers"] {})
|
||||
(host ["pingu-stickers"] {})
|
||||
|
Reference in New Issue
Block a user