small improvments
This commit is contained in:
parent
e7ffcc1435
commit
ec4ccbe5ef
3 changed files with 5 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
||||||
./tinc.nix
|
./tinc.nix
|
||||||
./transmission.nix
|
./transmission.nix
|
||||||
./weechat.nix
|
./weechat.nix
|
||||||
./wetten.nix
|
#./wetten.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./mattermost.nix
|
./mattermost.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -94,7 +94,7 @@ in {
|
||||||
script-torrent-done-filename =
|
script-torrent-done-filename =
|
||||||
(pkgs.writers.writeBash "torrent-finished" ''
|
(pkgs.writers.writeBash "torrent-finished" ''
|
||||||
JSON_STRING=$( ${pkgs.jq}/bin/jq -n --arg torrent_name "$TR_TORRENT_NAME" \
|
JSON_STRING=$( ${pkgs.jq}/bin/jq -n --arg torrent_name "$TR_TORRENT_NAME" \
|
||||||
'{text: ":tada: \($torrent_name)", channel: "torrent"}' )
|
'{text: ":tada: finished : \($torrent_name)", channel: "torrent"}' )
|
||||||
${pkgs.curl}/bin/curl \
|
${pkgs.curl}/bin/curl \
|
||||||
--include \
|
--include \
|
||||||
--request POST \
|
--request POST \
|
||||||
|
@ -121,12 +121,12 @@ in {
|
||||||
after = [ "openvpn-nordvpn.service" ];
|
after = [ "openvpn-nordvpn.service" ];
|
||||||
serviceConfig.Restart = "always";
|
serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
|
services.openvpn.servers.nordvpn.updateResolvConf = true;
|
||||||
services.openvpn.servers.nordvpn.config = ''
|
services.openvpn.servers.nordvpn.config = ''
|
||||||
client
|
client
|
||||||
dev tun
|
dev tun
|
||||||
proto udp
|
proto udp
|
||||||
remote 152.89.163.99 1194
|
remote 152.89.163.99 1194
|
||||||
resolv-retry infinite
|
|
||||||
dhcp-option DNS 8.8.8.8
|
dhcp-option DNS 8.8.8.8
|
||||||
remote-random
|
remote-random
|
||||||
nobind
|
nobind
|
||||||
|
@ -146,6 +146,7 @@ in {
|
||||||
auth-user-pass ${toString <secrets/transmission/nordvpn.txt>}
|
auth-user-pass ${toString <secrets/transmission/nordvpn.txt>}
|
||||||
verb 3
|
verb 3
|
||||||
pull
|
pull
|
||||||
|
resolv-retry infinite
|
||||||
fast-io
|
fast-io
|
||||||
cipher AES-256-CBC
|
cipher AES-256-CBC
|
||||||
auth SHA512
|
auth SHA512
|
||||||
|
|
|
@ -111,6 +111,7 @@ in {
|
||||||
sputnik = {
|
sputnik = {
|
||||||
realAddress = [
|
realAddress = [
|
||||||
# "195.201.134.247:443"
|
# "195.201.134.247:443"
|
||||||
|
"static.247.134.201.195.clients.your-server.de"
|
||||||
"static.247.134.201.195.clients.your-server.de:443"
|
"static.247.134.201.195.clients.your-server.de:443"
|
||||||
];
|
];
|
||||||
tincIp = "10.23.42.122";
|
tincIp = "10.23.42.122";
|
||||||
|
|
Loading…
Reference in a new issue