mirror of
https://git.gay/xqtc/nixos-config
synced 2024-12-28 21:53:44 +01:00
Compare commits
3 commits
af1321878c
...
826b738f9e
Author | SHA1 | Date | |
---|---|---|---|
xqtc161 | 826b738f9e | ||
xqtc161 | ee4de440bb | ||
xqtc161 | 901853850d |
|
@ -127,7 +127,6 @@ with lib; {
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
services.resolved.enable = true;
|
|
||||||
services.mullvad-vpn.enable = true;
|
services.mullvad-vpn.enable = true;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
ipv6 = {
|
ipv6 = {
|
||||||
addresses = [
|
addresses = [
|
||||||
{
|
{
|
||||||
address = "2a01:4f8:10a:1aab::2";
|
address = "2a01:4f8:10a:1aab::1";
|
||||||
prefixLength = 80;
|
prefixLength = 64;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -38,4 +38,9 @@
|
||||||
address = "fe80::1";
|
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 = {
|
networking.wireguard.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
ips = ["2a01:4f8:10a:1aab::2/64"];
|
ips = ["2a0f:be01:fe:fa1::1/64"];
|
||||||
|
|
||||||
listenPort = 51820;
|
listenPort = 51820;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue