updated wireguard keys file to vpn keys file
This commit is contained in:
parent
8a3aaba17c
commit
2f6e566acc
6 changed files with 39 additions and 39 deletions
|
@ -6,8 +6,8 @@
|
|||
...
|
||||
}: {
|
||||
sops.secrets = {
|
||||
"wireguard-keys/tailscale-authkey/defiant" = {
|
||||
sopsFile = "${inputs.secrets}/wireguard-keys.yaml";
|
||||
"vpn-keys/tailscale-authkey/defiant" = {
|
||||
sopsFile = "${inputs.secrets}/vpn-keys.yaml";
|
||||
};
|
||||
"services/zfs_smtp_token" = {
|
||||
sopsFile = "${inputs.secrets}/defiant-services.yaml";
|
||||
|
@ -140,7 +140,7 @@
|
|||
};
|
||||
tailscale = {
|
||||
enable = true;
|
||||
authKeyFile = config.sops.secrets."wireguard-keys/tailscale-authkey/defiant".path;
|
||||
authKeyFile = config.sops.secrets."vpn-keys/tailscale-authkey/defiant".path;
|
||||
useRoutingFeatures = "server";
|
||||
extraUpFlags = [
|
||||
"--advertise-exit-node"
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
programs.adb.enable = true;
|
||||
|
||||
sops.secrets = {
|
||||
"wireguard-keys/tailscale-authkey/horizon" = {
|
||||
sopsFile = "${inputs.secrets}/wireguard-keys.yaml";
|
||||
"vpn-keys/tailscale-authkey/horizon" = {
|
||||
sopsFile = "${inputs.secrets}/vpn-keys.yaml";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
|||
};
|
||||
tailscale = {
|
||||
enable = true;
|
||||
authKeyFile = config.sops.secrets."wireguard-keys/tailscale-authkey/horizon".path;
|
||||
authKeyFile = config.sops.secrets."vpn-keys/tailscale-authkey/horizon".path;
|
||||
useRoutingFeatures = "client";
|
||||
};
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
sops.secrets = {
|
||||
"wireguard-keys/tailscale-authkey/twilight" = {
|
||||
sopsFile = "${inputs.secrets}/wireguard-keys.yaml";
|
||||
"vpn-keys/tailscale-authkey/twilight" = {
|
||||
sopsFile = "${inputs.secrets}/vpn-keys.yaml";
|
||||
};
|
||||
};
|
||||
host = {
|
||||
|
@ -44,7 +44,7 @@
|
|||
|
||||
tailscale = {
|
||||
enable = true;
|
||||
authKeyFile = config.sops.secrets."wireguard-keys/tailscale-authkey/twilight".path;
|
||||
authKeyFile = config.sops.secrets."vpn-keys/tailscale-authkey/twilight".path;
|
||||
useRoutingFeatures = "both";
|
||||
extraUpFlags = [
|
||||
"--advertise-exit-node"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue