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

View File

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