From f0958e928ce592b530573d12d747c313f9ff3e0a Mon Sep 17 00:00:00 2001 From: joy Date: Tue, 17 Sep 2024 19:27:45 +0200 Subject: [PATCH] invidious --- modules/services/default.nix | 1 + modules/services/invidious/default.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 modules/services/invidious/default.nix diff --git a/modules/services/default.nix b/modules/services/default.nix index da8d987..df31d4a 100644 --- a/modules/services/default.nix +++ b/modules/services/default.nix @@ -6,6 +6,7 @@ ./polkit ./syncthing ./docker + ./invidious ./misc ]; } diff --git a/modules/services/invidious/default.nix b/modules/services/invidious/default.nix new file mode 100644 index 0000000..5ae201a --- /dev/null +++ b/modules/services/invidious/default.nix @@ -0,0 +1,12 @@ +{...}: { + services.invidious = { + enable = true; + settings = { + db = { + user = "invidious"; + dbname = "invidious"; + }; + host_binding = "0.0.0.0"; + }; + }; +}