astora: fix carapace completion in nushell

astora: enable zapret service
This commit is contained in:
L-Nafaryus 2025-01-13 23:59:30 +05:00
parent 76da6f354b
commit abd93dcbb2
Signed by: L-Nafaryus
GPG Key ID: 553C97999B363D38

View File

@ -157,7 +157,7 @@ in {
# for editing directly to config.nu # for editing directly to config.nu
extraConfig = '' extraConfig = ''
let carapace_completer = {|spans| let carapace_completer = {|spans|
carapace $spans.0 nushell $spans | from json carapace $spans.0 nushell ...$spans | from json
} }
$env.config = { $env.config = {
show_banner: false, show_banner: false,
@ -464,26 +464,26 @@ in {
# Services # Services
services.spoofdpi.enable = true; services.spoofdpi.enable = true;
#services.zapret = { services.zapret = {
# enable = true; enable = true;
# mode = "nfqws"; mode = "nfqws";
# firewallType = "iptables"; firewallType = "iptables";
# disableIpv6 = true; disableIpv6 = true;
# settings = '' settings = ''
# MODE_HTTP=1 MODE_HTTP=1
# MODE_HTTP_KEEPALIVE=0 MODE_HTTP_KEEPALIVE=0
# MODE_HTTPS=1 MODE_HTTPS=1
# MODE_QUIC=1 MODE_QUIC=1
# MODE_FILTER=ipset MODE_FILTER=ipset
# TPWS_OPT="--split-http-req=method --split-pos=1 --oob" TPWS_OPT="--split-http-req=method --split-pos=1 --oob"
# NFQWS_OPT_DESYNC="--dpi-desync=fake --dpi-desync-ttl=5" NFQWS_OPT_DESYNC="--dpi-desync=fake --dpi-desync-ttl=3"
# NFQWS_OPT_DESYNC_HTTP="--dpi-desync=fake --dpi-desync-ttl=5" NFQWS_OPT_DESYNC_HTTP="--dpi-desync=fake --dpi-desync-ttl=3"
# NFQWS_OPT_DESYNC_HTTPS="--dpi-desync=fake --dpi-desync-ttl=5" NFQWS_OPT_DESYNC_HTTPS="--dpi-desync=fake --dpi-desync-ttl=3"
# NFQWS_OPT_DESYNC_QUIC="--dpi-desync=fake --dpi-desync-ttl=5" NFQWS_OPT_DESYNC_QUIC="--dpi-desync=fake --dpi-desync-ttl=5"
# INIT_APPLY_FW=1 INIT_APPLY_FW=1
# ''; '';
# filterAddressesSource = "https://antifilter.network/download/ipsmart.lst"; filterAddressesSource = "https://antifilter.network/download/ipsmart.lst";
#}; };
# TODO: remember who use gvfs # TODO: remember who use gvfs
services.gvfs.enable = true; services.gvfs.enable = true;