added invidious
This commit is contained in:
parent
fe43be7e3b
commit
ff2317bf3e
3 changed files with 25 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
./firewall.nix
|
||||
./gitea.nix
|
||||
./hardware-configuration.nix
|
||||
./invidious.nix
|
||||
./radicale.nix
|
||||
./syncthing.nix
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 80 443 3000 8384 ];
|
||||
allowedTCPPorts = [ 22 80 443 3000 3001 8384 ];
|
||||
allowedUDPPorts = [ 22 80 443 ];
|
||||
};
|
||||
}
|
||||
|
|
23
hosts/Anton/invidious.nix
Normal file
23
hosts/Anton/invidious.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
services.invidious = {
|
||||
enable = true;
|
||||
port = 3001;
|
||||
settings = {
|
||||
db = {
|
||||
user = lib.mkForce "invidious";
|
||||
password = lib.mkForce "invidious";
|
||||
# host = lib.mkDefault "localhost";
|
||||
# port = 5432;
|
||||
# dbname = lib.mkForce "kemal";
|
||||
};
|
||||
popular_enabled = false;
|
||||
|
||||
quality = "dash";
|
||||
volume = 10;
|
||||
save_player_pos = true;
|
||||
unseen_only = true;
|
||||
local = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue