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
|
||||
./transmission.nix
|
||||
./weechat.nix
|
||||
./wetten.nix
|
||||
#./wetten.nix
|
||||
./nextcloud.nix
|
||||
./mattermost.nix
|
||||
];
|
||||
|
|
|
@ -94,7 +94,7 @@ in {
|
|||
script-torrent-done-filename =
|
||||
(pkgs.writers.writeBash "torrent-finished" ''
|
||||
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 \
|
||||
--include \
|
||||
--request POST \
|
||||
|
@ -121,12 +121,12 @@ in {
|
|||
after = [ "openvpn-nordvpn.service" ];
|
||||
serviceConfig.Restart = "always";
|
||||
};
|
||||
services.openvpn.servers.nordvpn.updateResolvConf = true;
|
||||
services.openvpn.servers.nordvpn.config = ''
|
||||
client
|
||||
dev tun
|
||||
proto udp
|
||||
remote 152.89.163.99 1194
|
||||
resolv-retry infinite
|
||||
dhcp-option DNS 8.8.8.8
|
||||
remote-random
|
||||
nobind
|
||||
|
@ -146,6 +146,7 @@ in {
|
|||
auth-user-pass ${toString <secrets/transmission/nordvpn.txt>}
|
||||
verb 3
|
||||
pull
|
||||
resolv-retry infinite
|
||||
fast-io
|
||||
cipher AES-256-CBC
|
||||
auth SHA512
|
||||
|
|
|
@ -111,6 +111,7 @@ in {
|
|||
sputnik = {
|
||||
realAddress = [
|
||||
# "195.201.134.247:443"
|
||||
"static.247.134.201.195.clients.your-server.de"
|
||||
"static.247.134.201.195.clients.your-server.de:443"
|
||||
];
|
||||
tincIp = "10.23.42.122";
|
||||
|
|
Loading…
Reference in a new issue