diff options
| author | vin <vin@vineetk.net> | 2025-03-08 11:42:46 -0500 |
|---|---|---|
| committer | vin <vin@vineetk.net> | 2025-03-08 19:36:36 -0500 |
| commit | 85ffcfd4fe0bd2cb1f7ac3051195e914da274562 (patch) | |
| tree | 84401c5317adade3f858f960bf7323b6a68c2a38 /hosts | |
| parent | 2138a215dc0066da14c662f0e46939dfb9f07ccf (diff) | |
demiurge: enable invidious
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/demiurge/default.nix | 37 | ||||
| -rw-r--r-- | hosts/saklas/default.nix | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/hosts/demiurge/default.nix b/hosts/demiurge/default.nix index e775514..31ecb88 100644 --- a/hosts/demiurge/default.nix +++ b/hosts/demiurge/default.nix | |||
| @@ -239,6 +239,35 @@ FQsOJMjIvhTm2IiOS8xIaZz7EJORxFjtOkLEIGGZBNK6QcnD714/nYbHSrQx4eNM | |||
| 239 | openFirewall = true; | 239 | openFirewall = true; |
| 240 | }; | 240 | }; |
| 241 | 241 | ||
| 242 | # invidious | ||
| 243 | invidious = { | ||
| 244 | enable = true; | ||
| 245 | |||
| 246 | http3-ytproxy.enable = true; | ||
| 247 | nginx.enable = true; | ||
| 248 | sig-helper.enable = true; | ||
| 249 | |||
| 250 | domain = "invidious.demiurge.epistemia"; | ||
| 251 | extraSettingsFile = "/run/invidious_settings"; | ||
| 252 | settings = { | ||
| 253 | admins = [ "vin" ]; | ||
| 254 | captcha_enabled = false; | ||
| 255 | registration_enabled = false; | ||
| 256 | hmac_key = "zCYyRa7vD0qt"; | ||
| 257 | default_user_preferences = { | ||
| 258 | captions = [ "English" ]; | ||
| 259 | dark_mode = "dark"; | ||
| 260 | feed_menu = [ "Popular" "Subscriptions" "Playlists" ]; | ||
| 261 | max_results = 100; | ||
| 262 | quality = "dash"; | ||
| 263 | save_player_pos = true; | ||
| 264 | unseen_only = true; | ||
| 265 | local = true; | ||
| 266 | extend_desc = true; | ||
| 267 | }; | ||
| 268 | }; | ||
| 269 | }; | ||
| 270 | |||
| 242 | # graphical input | 271 | # graphical input |
| 243 | libinput = { | 272 | libinput = { |
| 244 | enable = true; | 273 | enable = true; |
| @@ -303,6 +332,14 @@ FQsOJMjIvhTm2IiOS8xIaZz7EJORxFjtOkLEIGGZBNK6QcnD714/nYbHSrQx4eNM | |||
| 303 | proxyWebsockets = true; | 332 | proxyWebsockets = true; |
| 304 | }; | 333 | }; |
| 305 | }; | 334 | }; |
| 335 | |||
| 336 | "invidious.demiurge.epistemia" = { | ||
| 337 | addSSL = true; | ||
| 338 | enableACME = false; | ||
| 339 | forceSSL = false; | ||
| 340 | sslCertificate = "/var/demiurge.epistemia.crt"; | ||
| 341 | sslCertificateKey = "/var/demiurge.epistemia.key"; | ||
| 342 | }; | ||
| 306 | }; | 343 | }; |
| 307 | }; | 344 | }; |
| 308 | 345 | ||
diff --git a/hosts/saklas/default.nix b/hosts/saklas/default.nix index a1eb3b5..0fc6db8 100644 --- a/hosts/saklas/default.nix +++ b/hosts/saklas/default.nix | |||
| @@ -164,6 +164,7 @@ | |||
| 164 | dns = { | 164 | dns = { |
| 165 | base_domain = "epistemia"; | 165 | base_domain = "epistemia"; |
| 166 | extra_records = [ | 166 | extra_records = [ |
| 167 | { name = "invidious.demiurge.epistemia"; type = "A"; value = "100.64.0.5"; } | ||
| 167 | { name = "navidrome.demiurge.epistemia"; type = "A"; value = "100.64.0.5"; } | 168 | { name = "navidrome.demiurge.epistemia"; type = "A"; value = "100.64.0.5"; } |
| 168 | { name = "redlib.demiurge.epistemia"; type = "A"; value = "100.64.0.5"; } | 169 | { name = "redlib.demiurge.epistemia"; type = "A"; value = "100.64.0.5"; } |
| 169 | { name = "sdui.demiurge.epistemia"; type = "A"; value = "100.64.0.5"; } | 170 | { name = "sdui.demiurge.epistemia"; type = "A"; value = "100.64.0.5"; } |
