mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
add(nvim): why3 highlighting ✨
This commit is contained in:
parent
e73346287a
commit
e76b41242d
2 changed files with 69 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
hostname,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
|
|
@ -62,17 +63,23 @@
|
|||
};
|
||||
};
|
||||
|
||||
# TODO: fix this ahhhhhh
|
||||
systemd.targets.wireguard-wg0.wantedBy = lib.mkForce [];
|
||||
networking.wireguard = {
|
||||
interfaces = {
|
||||
wg0 = {
|
||||
ips = ["10.66.66.50/32"];
|
||||
privateKeyFile = config.age.secrets.wireguard_priv.path;
|
||||
postSetup = ''
|
||||
${pkgs.iproute}/bin/ip route replace 10.66.66.1 dev wg0
|
||||
${pkgs.iproute}/bin/ip route replace 10.0.0.20 via 10.66.66.1 dev wg0
|
||||
${pkgs.iproute}/bin/ip route replace 10.0.0.31 via 10.66.66.1 dev wg0
|
||||
'';
|
||||
peers = [
|
||||
{
|
||||
publicKey = "amb6icauPN4P/suyNZoPsVVkB5+MiAnhFF6hIeUiNFE=";
|
||||
presharedKeyFile = config.age.secrets.wireguard_psk.path;
|
||||
allowedIPs = ["10.0.0.20/32" "10.0.0.31/32"];
|
||||
allowedIPs = ["10.66.66.1/32" "10.0.0.20/32" "10.0.0.31/32"];
|
||||
endpoint = "earth2077.fr:660";
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue