fix ipv6 for wireguard

add myself to dialout group
This commit is contained in:
Pim Kunis 2024-01-20 16:51:25 +01:00
parent 8251863999
commit 9765e72a99
2 changed files with 13 additions and 10 deletions

View file

@ -36,8 +36,11 @@
silicon silicon
dbeaver dbeaver
wireshark wireshark
traceroute
units units
btrfs-progs
exfat
qFlipper
f3
]; ];
file.k3s-pim-privkey = { file.k3s-pim-privkey = {

View file

@ -34,7 +34,7 @@
users = { users = {
users.pim = { users.pim = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "docker" "input" "wireshark" ]; extraGroups = [ "wheel" "docker" "input" "wireshark" "dialout" ];
}; };
}; };
@ -124,27 +124,27 @@
wg-quick.interfaces = { wg-quick.interfaces = {
home = { home = {
privateKeyFile = config.age.secrets.wg-quick-home-privkey.path; privateKeyFile = config.age.secrets.wg-quick-home-privkey.path;
address = [ "10.225.191.4/24" ]; address = [ "10.225.191.4/24" "fd11:5ee:bad:c0de::4/128" ];
dns = [ "192.168.30.8" ]; dns = [ "192.168.30.8" "2a0d:6e00:1a77:30:c8fe:c0ff:feff:ee08" ];
autostart = false; autostart = false;
peers = [{ peers = [{
presharedKeyFile = config.age.secrets.wg-quick-home-preshared-key.path; presharedKeyFile = config.age.secrets.wg-quick-home-preshared-key.path;
endpoint = "wg4.geokunis2.nl:51820"; endpoint = "wg.geokunis2.nl:51820";
publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg="; publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg=";
allowedIPs = [ "0.0.0.0/0" "::0/0" ]; allowedIPs = [ "0.0.0.0/0" "::/0" ];
}]; }];
}; };
home-no-pihole = { home-no-pihole = {
privateKeyFile = config.age.secrets.wg-quick-home-privkey.path; privateKeyFile = config.age.secrets.wg-quick-home-privkey.path;
address = [ "10.225.191.4/24" ]; address = [ "10.225.191.4/24" "fd11:5ee:bad:c0de::4/128" ];
dns = [ "192.168.30.1" ]; dns = [ "192.168.30.1" "2a0d:6e00:1a77::1" ];
autostart = false; autostart = false;
peers = [{ peers = [{
presharedKeyFile = config.age.secrets.wg-quick-home-preshared-key.path; presharedKeyFile = config.age.secrets.wg-quick-home-preshared-key.path;
endpoint = "wg4.geokunis2.nl:51820"; endpoint = "wg.geokunis2.nl:51820";
publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg="; publicKey = "fa3mQ7ximJbH7cu2ZbWidto5xBGxEEfWvCCiUDk00Hg=";
allowedIPs = [ "0.0.0.0/0" "::0/0" ]; allowedIPs = [ "0.0.0.0/0" "::/0" ];
}]; }];
}; };
}; };