Add prosorinos to VPN and Syncthing

This commit is contained in:
coolneng 2020-09-24 16:13:02 +02:00
parent 841f7fcf14
commit 188ccb71f1
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 14 additions and 5 deletions

View File

@ -16,34 +16,38 @@
id = id =
"UNZIABR-GEQ4AWT-XKFADLW-HW3SQ3Y-BEYZ56A-W530DLS-DXGQWKK-2QQ4RQ6"; "UNZIABR-GEQ4AWT-XKFADLW-HW3SQ3Y-BEYZ56A-W530DLS-DXGQWKK-2QQ4RQ6";
}; };
prosorinos = {
id =
"3VO3M5I-FXJXPFZ-HSSBQIJ-4ZK4ALK-O3MI2CL-TS7BNBC-Z5OLGE2-MO7K3QK ";
};
}; };
folders = { folders = {
Documents = { Documents = {
id = "wusdj-bfjkr"; id = "wusdj-bfjkr";
type = "receiveonly"; type = "receiveonly";
path = "/vault/syncthing/Documents"; path = "/vault/syncthing/Documents";
devices = [ "roamer" "panacea" ]; devices = [ "roamer" "panacea" "prosorinos" ];
}; };
Notes = { Notes = {
id = "kafhz-bfmzm"; id = "kafhz-bfmzm";
type = "receiveonly"; type = "receiveonly";
path = "/vault/syncthing/Notes"; path = "/vault/syncthing/Notes";
devices = [ "roamer" "panacea" ]; devices = [ "roamer" "panacea" "prosorinos" ];
}; };
Music = { Music = {
id = "2aqt7-vpprc"; id = "2aqt7-vpprc";
type = "receiveonly"; type = "receiveonly";
path = "/vault/syncthing/Music"; path = "/vault/syncthing/Music";
devices = [ "roamer" "panacea" ]; devices = [ "roamer" "panacea" "prosorinos" ];
}; };
Photos = { Photos = {
id = "mjibc-ustcg"; id = "mjibc-ustcg";
type = "receiveonly"; type = "receiveonly";
path = "/vault/syncthing/Photos"; path = "/vault/syncthing/Photos";
devices = [ "roamer" "panacea" ]; devices = [ "roamer" "panacea" "prosorinos" ];
}; };
Projects = { Projects = {

View File

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let password = builtins.readFile /run/keys/ddclient; let password = builtins.readFile /var/lib/ddclient/token;
in { in {
@ -73,6 +73,11 @@ in {
publicKey = "gS5VIUFL74kTs3zxVNT/ijWyOjeAFLEqWynD0Pefh1o="; publicKey = "gS5VIUFL74kTs3zxVNT/ijWyOjeAFLEqWynD0Pefh1o=";
allowedIPs = [ "10.8.0.3/32" ]; allowedIPs = [ "10.8.0.3/32" ];
} }
# Prosorinos
{
publicKey = "ipr+95jPZaCwEQybLsN5njxENMrPFbUUKf8CTNvGsDA=";
allowedIPs = [ "10.8.0.4/32" ];
}
]; ];
}; };
}; };