wifi fixes
artemision is currently having some really weird issues whenever its using the local unbound DNS, so this is demoting the local DNS and adding some public networks Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
fa8d7e7ce4
commit
0d6c05f708
@ -1,22 +1,36 @@
|
|||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
|
let
|
||||||
|
always = 100;
|
||||||
|
home = 99;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
networking.wireless = {
|
networking.wireless = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environmentFile = config.sops.secrets."wifi-env".path;
|
environmentFile = config.sops.secrets."wifi-env".path;
|
||||||
|
userControlled.enable = true;
|
||||||
networks = {
|
networks = {
|
||||||
"taetaethegae-2.0".psk = "@PASS_taetaethegae_20@";
|
"taetaethegae-2.0" = {
|
||||||
"k".psk = "@PASS_k@";
|
psk = "@PASS_taetaethegae_20@";
|
||||||
|
priority = home;
|
||||||
|
};
|
||||||
|
"k" = {
|
||||||
|
psk = "@PASS_k@";
|
||||||
|
priority = always;
|
||||||
|
};
|
||||||
"Bloomfield".psk = "@PASS_bloomfield@";
|
"Bloomfield".psk = "@PASS_bloomfield@";
|
||||||
"9872441500".psk = "@PASS_longboat_home@";
|
"9872441500".psk = "@PASS_longboat_home@";
|
||||||
"9872441561".psk = "@PASS_longboat_home@";
|
"9872441561".psk = "@PASS_longboat_home@";
|
||||||
"5HuFios".psk = "@PASS_longboat_home@";
|
"5HuFios".psk = "@PASS_longboat_home@";
|
||||||
"24HuFios".psk = "@PASS_longboat_home@";
|
"24HuFios".psk = "@PASS_longboat_home@";
|
||||||
|
"optimumwifi" = { };
|
||||||
|
"CableWiFi" = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.nameservers = [
|
networking.nameservers = [
|
||||||
"192.168.76.1"
|
|
||||||
"9.9.9.9"
|
"9.9.9.9"
|
||||||
|
"1.1.1.1"
|
||||||
|
"192.168.76.1"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user