feat(host): Added zapret
This commit is contained in:
1 parent
76d4b106f5
commit
972485a7d9
4 files changed
+107
-1
No files matched your search
@@ -6,6 +6,7 @@
|
||||
./host/sound.nix
|
||||
./host/vpn.nix
|
||||
./host/postgresql.nix
|
||||
./host/zapret-config.nix
|
||||
];
|
||||
|
||||
programs.hyprland.enable = true;
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.zapret-discord-youtube = {
|
||||
enable = true;
|
||||
config = "general(ALT)"; # или любой другой
|
||||
|
||||
gameFilter = "null"; # "all", "tcp", "udp" или "null"
|
||||
|
||||
listGeneral = [ "example.com" "test.org" "mysite.net" ];
|
||||
listExclude = [ "ubisoft.com" "origin.com" ];
|
||||
|
||||
ipsetAll = [ "192.168.1.0/24" "10.0.0.1" ];
|
||||
ipsetExclude = [ "203.0.113.0/24" ];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user