zapret wip
This commit is contained in:
parent
657d083a02
commit
287dd865cf
@ -1,10 +0,0 @@
|
|||||||
# For people that doesn't like neovim :)
|
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
programs.vscode = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.vscodium;
|
|
||||||
# I don't add extensions here, because nixpkgs doesn't contain
|
|
||||||
# extensions I need. Oops.
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
home.sessionVariables = {
|
|
||||||
EDITOR = "nano";
|
|
||||||
};
|
|
||||||
}
|
|
42
nixos/modules/zapret.nix
Normal file
42
nixos/modules/zapret.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
zapret = {
|
||||||
|
enable = true;
|
||||||
|
params = [
|
||||||
|
"--dpi-desync-autottl=3"
|
||||||
|
"--wssize 1:6"
|
||||||
|
"--dpi-desync-fake-tls=0x00000000"
|
||||||
|
"-dpi-desync-split-pos=1"
|
||||||
|
"--dpi-desync=syndata,fake,split2"
|
||||||
|
"--dpi-desync-repeats=6"
|
||||||
|
"-dpi-desync-fooling=md5sig"
|
||||||
|
"--new"
|
||||||
|
];
|
||||||
|
whitelist = [
|
||||||
|
"googlevideo.com"
|
||||||
|
"youtu.be"
|
||||||
|
"youtube.com"
|
||||||
|
"youtubei.googleapis.com"
|
||||||
|
"youtubeembeddedplayer.googleapis.com"
|
||||||
|
"ytimg.l.google.com"
|
||||||
|
"ytimg.com"
|
||||||
|
"jnn-pa.googleapis.com"
|
||||||
|
"youtube-nocookie.com"
|
||||||
|
"youtube-ui.l.google.com"
|
||||||
|
"yt-video-upload.l.google.com"
|
||||||
|
"wide-youtube.l.google.com"
|
||||||
|
"youtubekids.com"
|
||||||
|
"ggphs.com"
|
||||||
|
"discord.com"
|
||||||
|
"gateway.discord.gg"
|
||||||
|
"cdn.discordapp.com"
|
||||||
|
"discordapp.net"
|
||||||
|
"discordapp.com"
|
||||||
|
"discord.gg"
|
||||||
|
"media.discordapp.net"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -4,6 +4,7 @@
|
|||||||
./modules/pipewire.nix
|
./modules/pipewire.nix
|
||||||
./modules/auto-cpufreq.nix
|
./modules/auto-cpufreq.nix
|
||||||
./modules/privoxy.nix
|
./modules/privoxy.nix
|
||||||
|
./modules/zapret.nix
|
||||||
|
|
||||||
./modules/hardware/nvidia.nix
|
./modules/hardware/nvidia.nix
|
||||||
./modules/hardware/battery-threshold.nix
|
./modules/hardware/battery-threshold.nix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user