summaryrefslogtreecommitdiff
path: root/modules/vpn.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-08-29 20:48:19 -0400
committerKjetil Orbekk <kj@orbekk.com>2022-08-29 20:48:19 -0400
commit07151ec1145de37b8a9a20993b110e2a427157d2 (patch)
treecb00c551151c9b5b33acf9d8d19efd378d4ec36f /modules/vpn.nix
parentb1336c73169638bb9a5343dd89c94069adbf16b0 (diff)
minideck config
Diffstat (limited to 'modules/vpn.nix')
-rw-r--r--modules/vpn.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/vpn.nix b/modules/vpn.nix
index 5f8d932..0b532de 100644
--- a/modules/vpn.nix
+++ b/modules/vpn.nix
@@ -7,7 +7,7 @@ let
mkConfig = host: ip: {
ips = [ "${vpn-prefix}::${ip}/128" ];
- publicKey = (builtins.readFile ../secrets/${host}-wireguard-key.pub);
+ publicKey = (builtins.readFile (../secrets + "/${host}-wireguard-key.pub"));
endpoint = null;
router = false;
};