ips readjustments to add workstation to wireguard
This commit is contained in:
@@ -45,7 +45,7 @@ in
|
||||
}
|
||||
];
|
||||
sops.secrets = {
|
||||
"vps/home/private" = lib.mkIf config.my.secureHost {
|
||||
"server/private" = lib.mkIf config.my.secureHost {
|
||||
sopsFile = ../../secrets/wireguard.yaml;
|
||||
};
|
||||
lidarr-mb-gap = lib.mkIf config.my.secureHost {
|
||||
@@ -71,7 +71,7 @@ in
|
||||
};
|
||||
wireguard.interfaces.wg0 = lib.mkIf config.my.secureHost {
|
||||
ips = [ "${config.my.ips.wg-server}/32" ];
|
||||
privateKeyFile = config.sops.secrets."vps/home/private".path;
|
||||
privateKeyFile = config.sops.secrets."server/private".path;
|
||||
peers = [
|
||||
{
|
||||
publicKey = "dFbiSekBwnZomarcS31o5+w6imHjMPNCipkfc2fZ3GY=";
|
||||
|
||||
Reference in New Issue
Block a user