Yt : Fix zapret.

This commit is contained in:
Dmitry Voronin 2024-08-28 02:45:28 +03:00
parent 6318530b41
commit 440d0608ed
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 4 additions and 4 deletions

View file

@ -26,9 +26,6 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
containers.yt = container.mkContainer cfg { containers.yt = container.mkContainer cfg {
config = { ... }: container.mkContainerConfig cfg { config = { ... }: container.mkContainerConfig cfg {
imports = [ <module/Zapret.nix> ];
module.zapret.enable = true;
services.invidious = { services.invidious = {
enable = true; enable = true;
domain = cfg.domain; domain = cfg.domain;

View file

@ -30,7 +30,10 @@ in {
}; };
imports = [ <module/Zapret.nix> ]; imports = [ <module/Zapret.nix> ];
module.zapret.enable = true; module.zapret = {
enable = true;
params = config.module.zapret.params;
};
services = { services = {
microsocks = { microsocks = {