mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
add invidious but need to figure out nginx
This commit is contained in:
parent
83817723bf
commit
3e15ca6829
3 changed files with 37 additions and 0 deletions
|
|
@ -7,5 +7,6 @@
|
|||
./bar-assistant.nix
|
||||
./homebox.nix
|
||||
./homepage.nix
|
||||
./invidious.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,6 +66,14 @@ lib.mkIf config.user.overseer.enable {
|
|||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
Bar = [
|
||||
{
|
||||
icon = "http://bar.wanderingcrow.net/favicon.svg";
|
||||
href = "http://bar.wanderingcrow.net";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
|
|
|
|||
28
modules/users/overseer/services/invidious.nix
Normal file
28
modules/users/overseer/services/invidious.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
lib,
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.user.overseer.enable {
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
virtualHosts = {
|
||||
"vid.wanderingcrow.net" = {
|
||||
enableACME = false;
|
||||
forceSSL = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.invidious = {
|
||||
enable = true;
|
||||
port = 3000;
|
||||
nginx.enable = true;
|
||||
domain = "vid.wanderingcrow.net";
|
||||
database.createLocally = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue