.github
.vscode
docs
hydra
keys
lib
modules
pkgs
systems
artemision
ao3_skins
hypr
kernel-patches
audio.nix
configuration.nix
default.nix
desktop.nix
fingerprint.nix
fonts.nix
graphics.nix
hardware.nix
libvirt.nix
polkit.nix
programs.nix
secrets.yaml
steam.nix
wifi.nix
zerotier.nix
palatine-hill
users
utils
.envrc
.gitconfig
.gitignore
.sops.yaml
CONTRIBUTING.md
README.md
checks.nix
flake.lock
flake.nix
shell.nix
statix.toml
treefmt.toml
60 lines
1.3 KiB
Nix
60 lines
1.3 KiB
Nix
{ config, ... }:
|
|
let
|
|
always = 100;
|
|
home = 99;
|
|
in
|
|
{
|
|
networking.wireless = {
|
|
enable = true;
|
|
secretsFile = config.sops.secrets."wifi-env".path;
|
|
userControlled.enable = true;
|
|
networks = {
|
|
"taetaethegae-2.0" = {
|
|
pskRaw = "ext:PASS_taetaethegae_20";
|
|
priority = home;
|
|
};
|
|
"k" = {
|
|
pskRaw = "ext:PASS_k";
|
|
priority = always;
|
|
};
|
|
"Bloomfield".pskRaw = "ext:PASS_bloomfield";
|
|
"9872441500".pskRaw = "ext:PASS_longboat_home";
|
|
"9872441561".pskRaw = "ext:PASS_longboat_home";
|
|
"5HuFios".pskRaw = "ext:PASS_longboat_home";
|
|
"24HuFios".pskRaw = "ext:PASS_longboat_home";
|
|
"Verizon_ZLHQ3H".pskRaw = "ext:PASS_angie";
|
|
"Fios-Qn3RB".pskRaw = "ext:PASS_parkridge";
|
|
"optimumwifi" = { };
|
|
"CableWiFi" = { };
|
|
"JPMCVisitor" = { };
|
|
};
|
|
};
|
|
|
|
networking.nameservers = [
|
|
"9.9.9.9"
|
|
"1.1.1.1"
|
|
"192.168.76.1"
|
|
];
|
|
|
|
services.resolved = {
|
|
enable = true;
|
|
dnssec = "true";
|
|
domains = [ "~." ];
|
|
fallbackDns = [
|
|
"1.1.1.1#one.one.one.one"
|
|
"1.0.0.1#one.one.one.one"
|
|
];
|
|
dnsovertls = "true";
|
|
};
|
|
|
|
sops = {
|
|
defaultSopsFile = ./secrets.yaml;
|
|
secrets = {
|
|
"wifi-env" = {
|
|
owner = "root";
|
|
restartUnits = [ "wpa_supplicant.service" ];
|
|
};
|
|
};
|
|
};
|
|
}
|