diff options
author | sils <sils@sils.li> | 2023-08-07 12:40:14 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-11 01:11:25 +0200 |
commit | 317575461a640ddc601751741bc6da92a3edb867 (patch) | |
tree | 419c78bb7638cfd696a8945e9ddfc4571e29be81 /system/services | |
parent | Refactor(system/secrets/secrets.nix): Remove redundant secretlist (diff) | |
download | nixos-server-317575461a640ddc601751741bc6da92a3edb867.tar.gz nixos-server-317575461a640ddc601751741bc6da92a3edb867.zip |
Feat(system): Add invidious
Diffstat (limited to 'system/services')
-rw-r--r-- | system/services/default.nix | 1 | ||||
-rw-r--r-- | system/services/invidious/default.nix | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/system/services/default.nix b/system/services/default.nix index 8f5540f..6c2670d 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -1,6 +1,7 @@ {...}: { imports = [ ./fail2ban + ./invidious ./keycloak ./mail ./matrix diff --git a/system/services/invidious/default.nix b/system/services/invidious/default.nix new file mode 100644 index 0000000..50a32e8 --- /dev/null +++ b/system/services/invidious/default.nix @@ -0,0 +1,12 @@ +{config, ...}: { + services.invidious = { + enable = true; + database = { + createLocally = true; + passwordFile = "${config.age.secrets.invidious.path}"; + }; + domain = "invidious.vhack.eu"; + nginx.enable = true; + extraSettingsFile = "${config.age.secrets.invidiousSettings.path}"; + }; +} |