98 current 2025-10-08 16:21:15 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# flake for blakes nixos config
|
# flake for blakes nixos config
|
||||||
# define new devices in outputs
|
# define new devices in outputs
|
||||||
# generation: 96 current 2025-10-08 15:53:50 25.05.20251006.20c4598 6.12.50 *
|
# generation: 98 current 2025-10-08 16:21:15 25.05.20251006.20c4598 6.12.50 *
|
||||||
{
|
{
|
||||||
description = "blakes nix config";
|
description = "blakes nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
tailscale.enable = true;
|
tailscale.enable = true;
|
||||||
vpns.enable = true;
|
vpns.enable = true;
|
||||||
vpns.wg_mex = true;
|
vpns.wg_mex = false;
|
||||||
nvidia.enable = true;
|
nvidia.enable = true;
|
||||||
};
|
};
|
||||||
homelab = {
|
homelab = {
|
||||||
|
|||||||
@@ -34,11 +34,12 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# enable mullvad mexico w/ wireguard
|
# enable mullvad mexico w/ wireguard
|
||||||
networking.wireguard.interfaces = lib.mkIf cfg.wg_mex {
|
networking.wg-quick.interfaces = lib.mkIf cfg.wg_mex {
|
||||||
wg_mex = {
|
wg_mex = {
|
||||||
# client settings
|
# client settings
|
||||||
privateKeyFile = config.sops.secrets."wg_mex_key".path;
|
privateKeyFile = config.sops.secrets."wg_mex_key".path;
|
||||||
ips = [ "10.74.252.231/32" "fc00:bbbb:bbbb:bb01::b:fce6/128" ];
|
address = [ "10.74.252.231/32" "fc00:bbbb:bbbb:bb01::b:fce6/128" ];
|
||||||
|
dns = [ "10.64.0.1" ];
|
||||||
# remote settings
|
# remote settings
|
||||||
peers = [ {
|
peers = [ {
|
||||||
publicKey = "yxyntWsANEwxeR0pOPNAcfWY7zEVICZe9G+GxortzEY=";
|
publicKey = "yxyntWsANEwxeR0pOPNAcfWY7zEVICZe9G+GxortzEY=";
|
||||||
|
|||||||
Reference in New Issue
Block a user