From 040d7392dc17baec4bc7f13824cde2bc3b86b93a Mon Sep 17 00:00:00 2001 From: jimjam4real Date: Mon, 23 Sep 2024 13:49:48 -0400 Subject: [PATCH] Maybe unfinished support for wireguard Nix clients --- secrets.nix | Bin 2674 -> 2892 bytes system/desktop/firewall.nix | 6 ++++-- system/desktop/wireguard.nix | 23 +++++++++++++++++++++++ system/pinebook.nix | 7 +++++-- system/server/wireguard.nix | 14 ++++++++------ 5 files changed, 40 insertions(+), 10 deletions(-) create mode 100644 system/desktop/wireguard.nix diff --git a/secrets.nix b/secrets.nix index 367d785162902d4343db91248dc1e8cef0ca696d..c1098f85b5173116ba4bcb0e0b7043990ece35cf 100644 GIT binary patch literal 2892 zcmV-S3$ye9M@dveQdv+`0Q#Ibmn}Sb{!~V(nw3LG@=OyO3ZAG^z$pduwF%)oq~DWF zyyoKX_ldxiH))LR9<7`LsI`Bt9a{IBb>D}|K!s$u`a%fy1c>1vO<*ej5eRg!L!dWZ ztXm5y$lBa-4U5L*?THZs!2gV2G&Xu}2`XR}?!2D3_Bt=I8pD6`0NaJWvn3=fci2qk zj8ZvU{bP@%|C{5L5oWuK9ETM9jL(4j2L8BX@g#Ce1I zkA(DY*{KMdo`ZZDaO4UBdkRh1w6A@NDXe7XinkA@CCtb)M@3@+7+jCDS@3Uj`t)3_JsuM#?{=k0egl_^3NCE-1V&3LRx8DUGo zVKk{&1hTZUwDLDP3{~riaJiwdy5LVEW`co4UK_3RM$6;*_}o%XGngsNWpA;gPPeAEeqNGNMdq24%$b=C5R0T?k_s-|HJX;bgf7MXX7OU*qi^ zff5|sL44wXU;Ksj0KM^Nd*_)yT^(Eb3y>Q<0UI8t6wj_R2|xHz#Lys=#T6PwHn0AS zmpAx5cHFD;32$n?GUiWF*Sp||+0rGEA>qdOED|4kn;P4tZTl&c6tbJfRtz307?BOI za)0yNRJAN~P`XL9U86`?P+DHCa4x3go4@HLdFRlZ!=$4s2!o!NnNJca?~;y8I~gfX z8eGa~mp>6>W(7gJ`p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