reenable ipv6; reconfigure browser

This commit is contained in:
andromeda
2026-01-14 05:31:48 +01:00
parent c0e92a4ef3
commit 6fb816f27c
4 changed files with 18 additions and 14 deletions

View File

@@ -30,6 +30,9 @@
# apps
./modules/nixos/steam.nix
# substitutors
./substitutors.nix
];
};
"109-199-104-83" = {

View File

@@ -1,8 +1,11 @@
{lib, ...}: {
{
services.openvpn.servers = {
"173.249.5.230" = {config = ''config /etc/openvpn-confs/173.249.5.230.ovpn'';};
};
networking.enableIPv6 = lib.mkForce false;
environment.persistence."/persist".directories = ["/etc/openvpn-confs"];
boot.kernelParams = ["ipv6.disable=1"];
# turns out disabling ipv6 is a bad idea; I'm just going to enable v6 on the remote xD
# networking.enableIPv6 = lib.mkForce false;
# workaround; NetworkManager reenables ipv6 without the following
# boot.kernelParams = ["ipv6.disable=1"];
}

8
substitutors.nix Normal file
View File

@@ -0,0 +1,8 @@
{
# spectrum
nix.settings.substituters = ["https://cache.dataaturservice.se/spectrum/"];
nix.settings.trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"spectrum-os.org-2:foQk3r7t2VpRx92CaXb5ROyy/NBdRJQG2uX2XJMYZfU="
];
}

View File

@@ -101,7 +101,7 @@ in {
pkgs.nur.repos.rycee.firefox-addons.tridactyl
];
search = {
default = "repos";
default = "ddghtml";
privateDefault = "ddghtml";
order = [
"wiki"
@@ -159,16 +159,6 @@ in {
}
];
};
"repos" = {
template = "https://html.duckduckgo.com/html/";
params = [
{
name = "q";
value = "{searchTerms}+(site:*.gitlab.org OR site:github.com OR site:git.mtgmonkey.net OR site:sr.ht)";
}
];
};
};
};
settings = {