vps-2024-04-16-08-29-35

This commit is contained in:
Alexander Szczepanski
2024-04-16 08:29:35 +02:00
parent 3c27d1d0f0
commit af65e070de
3 changed files with 12 additions and 5 deletions

View File

@ -13,5 +13,6 @@
lazydocker lazydocker
minikube minikube
lazydocker lazydocker
dive
]; ];
} }

View File

@ -8,5 +8,4 @@
wireguard-vps2-public = "fzWLlrK4RqbgBpjQLLwKxGI92aidpZUksjZ6FIrFmEE="; wireguard-vps2-public = "fzWLlrK4RqbgBpjQLLwKxGI92aidpZUksjZ6FIrFmEE=";
wireguard-vps3-public = "qfE7vQ+XavOMKgSYxa/me40auoEV3ip/vbiSzjMKgXc="; wireguard-vps3-public = "qfE7vQ+XavOMKgSYxa/me40auoEV3ip/vbiSzjMKgXc=";
wireguard-a53-public = "ebXyBQkOYw8zK2KXAs0NKn2h1Fu53ScysJS/hFhTix4="; wireguard-a53-public = "ebXyBQkOYw8zK2KXAs0NKn2h1Fu53ScysJS/hFhTix4=";
} }

View File

@ -82,7 +82,7 @@ in
} }
{ {
publicKey = secrets.wireguard-a53-public; publicKey = secrets.wireguard-a53-public;
# presharedKey = secrets.wireguard-preshared; presharedKey = secrets.wireguard-preshared;
allowedIPs = [ "10.100.0.9/32" ]; allowedIPs = [ "10.100.0.9/32" ];
} }
{ {
@ -111,12 +111,18 @@ in
9898 # i2p 9898 # i2p
9899 9899
18080 18080
21115 #Rustdesk
21116 #Rustdesk
21117 #Rustdesk
21118 #Rustdesk
21119 #Rustdesk
22000 # syncthing 22000 # syncthing
]; ];
allowedUDPPorts = [ allowedUDPPorts = [
80 # web 80 # web
443 # web 443 # web
9898 # i2p 9898 # i2p
21116 # Rustdesk
51820 # wireguard 51820 # wireguard
]; ];
interfaces.wg0 = { interfaces.wg0 = {
@ -502,12 +508,13 @@ in
repo = secrets.borg-repo; repo = secrets.borg-repo;
startAt = "daily"; startAt = "daily";
prune.keep = { prune.keep = {
daily = 7; daily = 4;
weekly = 4; weekly = 2;
monthly = 3; monthly = 2;
}; };
extraPruneArgs = "--save-space --stats"; extraPruneArgs = "--save-space --stats";
exclude = [ exclude = [
"/home/alex/storagebox"
"/home/alex/docker/jellyfin/data" "/home/alex/docker/jellyfin/data"
"/home/alex/.cache" "/home/alex/.cache"
"/var/lib/monero" "/var/lib/monero"