mirror of
https://git.gay/xqtc/nixos-config
synced 2024-12-29 14:43:45 +01:00
Compare commits
No commits in common. "826b738f9e3c7e3f33384b191a6c4fbfa3214e20" and "af1321878c43dcba44b5df8586d2c6b34d0fcbf6" have entirely different histories.
826b738f9e
...
af1321878c
|
@ -127,6 +127,7 @@ with lib; {
|
|||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
|
||||
services.resolved.enable = true;
|
||||
services.mullvad-vpn.enable = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
ipv6 = {
|
||||
addresses = [
|
||||
{
|
||||
address = "2a01:4f8:10a:1aab::1";
|
||||
prefixLength = 64;
|
||||
address = "2a01:4f8:10a:1aab::2";
|
||||
prefixLength = 80;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@ -38,9 +38,4 @@
|
|||
address = "fe80::1";
|
||||
};
|
||||
};
|
||||
|
||||
services.resolved.enable = true;
|
||||
services.resolved.extraConfig = ''
|
||||
DNS=185.12.64.1 185.12.64.2 2a01:4ff:ff00::add:1 2a01:4ff:ff00::add:2
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
networking.wireguard.interfaces = {
|
||||
wg0 = {
|
||||
ips = ["2a0f:be01:fe:fa1::1/64"];
|
||||
ips = ["2a01:4f8:10a:1aab::2/64"];
|
||||
|
||||
listenPort = 51820;
|
||||
|
||||
|
|
Loading…
Reference in a new issue