mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-31 09:55:38 +01:00
removed a useless line
This commit is contained in:
parent
ad7938a056
commit
7105795e82
1 changed files with 2 additions and 5 deletions
|
@ -9,9 +9,6 @@
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "thinkpad";
|
hostName = "thinkpad";
|
||||||
firewall = {
|
|
||||||
#allowedUDPPorts = [ 51820 ]; # used for wireguard
|
|
||||||
};
|
|
||||||
wireless = {
|
wireless = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userControlled.enable = true;
|
userControlled.enable = true;
|
||||||
|
@ -33,14 +30,14 @@
|
||||||
wg-quick.interfaces = {
|
wg-quick.interfaces = {
|
||||||
Dorm = {
|
Dorm = {
|
||||||
address = [ "10.10.10.3/32" ];
|
address = [ "10.10.10.3/32" ];
|
||||||
privateKeyFile = config.sops.secrets."wireguard/dorm/private".path;
|
privateKeyFile = config.sops.secrets."wireguard/dorm/private".path;
|
||||||
listenPort = 51820;
|
listenPort = 51820;
|
||||||
dns = [ "192.168.10.1" ];
|
dns = [ "192.168.10.1" ];
|
||||||
autostart = false;
|
autostart = false;
|
||||||
peers = [
|
peers = [
|
||||||
{
|
{
|
||||||
publicKey = "vUmworuJFHjB4KUdkucQ+nzqO2ysARLomq4UuK1n430=";
|
publicKey = "vUmworuJFHjB4KUdkucQ+nzqO2ysARLomq4UuK1n430=";
|
||||||
presharedKeyFile = config.sops.secrets."wireguard/dorm/preshared".path;
|
presharedKeyFile = config.sops.secrets."wireguard/dorm/preshared".path;
|
||||||
allowedIPs = [ "0.0.0.0/0" ];
|
allowedIPs = [ "0.0.0.0/0" ];
|
||||||
endpoint = "dorm.vpn.rfive.de:51820";
|
endpoint = "dorm.vpn.rfive.de:51820";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue