Wed Jun 5 02:23:39 AM CEST 2024
This commit is contained in:
parent
0cd298f97b
commit
f502a44d4b
|
@ -52,13 +52,22 @@ in
|
||||||
# nix-shell -p gnome.gnome-control-center --run "gnome-control-center"
|
# nix-shell -p gnome.gnome-control-center --run "gnome-control-center"
|
||||||
# Just add the main webdav server and gnome-calendar will automatically pick up all available calendars.
|
# Just add the main webdav server and gnome-calendar will automatically pick up all available calendars.
|
||||||
|
|
||||||
|
# networking.nameservers = [ "1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one" ];
|
||||||
|
# services.resolved = {
|
||||||
|
# enable = true;
|
||||||
|
# dnssec = "true";
|
||||||
|
# domains = [ "~." ];
|
||||||
|
# fallbackDns = [ "1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one" ];
|
||||||
|
# dnsovertls = "true";
|
||||||
|
# };
|
||||||
|
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
address = [ "10.0.0.5/24" "2a02:a03f:83ad:2101::5/128" ];
|
address = [ "10.0.0.5/24" "2a02:a03f:83ad:2101::5/128" ];
|
||||||
dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ];
|
dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ];
|
||||||
privateKeyFile = "/home/user/.secrets/Wireguard/Aloria.key";
|
privateKeyFile = "/home/user/.secrets/Wireguard/Aloria.key";
|
||||||
listenPort = 51820;
|
listenPort = 51820;
|
||||||
postUp = "resolvectl dns wg0 10.0.0.1; resolvectl domain wg0 ~thomasave.be;";
|
# postUp = "resolvectl dns wg0 10.0.0.1; resolvectl domain wg0 ~thomasave.be;";
|
||||||
peers = [{
|
peers = [{
|
||||||
publicKey = "/9ppjm3yeD0duDvxrqgcHscHmftXko+0s2RbivNEy2c=";
|
publicKey = "/9ppjm3yeD0duDvxrqgcHscHmftXko+0s2RbivNEy2c=";
|
||||||
allowedIPs = [ "10.0.0.1/8" "192.168.1.2/32" ];
|
allowedIPs = [ "10.0.0.1/8" "192.168.1.2/32" ];
|
||||||
|
|
Loading…
Reference in New Issue