reenable ipv6; reconfigure browser
This commit is contained in:
@@ -30,6 +30,9 @@
|
|||||||
|
|
||||||
# apps
|
# apps
|
||||||
./modules/nixos/steam.nix
|
./modules/nixos/steam.nix
|
||||||
|
|
||||||
|
# substitutors
|
||||||
|
./substitutors.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"109-199-104-83" = {
|
"109-199-104-83" = {
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
{lib, ...}: {
|
{
|
||||||
services.openvpn.servers = {
|
services.openvpn.servers = {
|
||||||
"173.249.5.230" = {config = ''config /etc/openvpn-confs/173.249.5.230.ovpn'';};
|
"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"];
|
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
8
substitutors.nix
Normal 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="
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -101,7 +101,7 @@ in {
|
|||||||
pkgs.nur.repos.rycee.firefox-addons.tridactyl
|
pkgs.nur.repos.rycee.firefox-addons.tridactyl
|
||||||
];
|
];
|
||||||
search = {
|
search = {
|
||||||
default = "repos";
|
default = "ddghtml";
|
||||||
privateDefault = "ddghtml";
|
privateDefault = "ddghtml";
|
||||||
order = [
|
order = [
|
||||||
"wiki"
|
"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 = {
|
settings = {
|
||||||
|
|||||||
Reference in New Issue
Block a user