add(nvim): why3 highlighting

This commit is contained in:
Léana 江 2024-01-10 21:49:42 +01:00 committed by Léana 江
parent e73346287a
commit e76b41242d
2 changed files with 69 additions and 1 deletions

View file

@ -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;
}