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/invidious/default.nix | |
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 '')
-rw-r--r-- | system/services/invidious/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
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}"; + }; +} |