move all artemision files into systems/
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
42
systems/artemision/wifi.nix
Normal file
42
systems/artemision/wifi.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
networking.wireless = {
|
||||
enable = true;
|
||||
environmentFile = config.sops.secrets."wifi-env".path;
|
||||
networks = {
|
||||
"taetaethegae-2.0".psk = "@PASS_taetaethegae_20@";
|
||||
"k".psk = "@PASS_k@";
|
||||
"Bloomfield".psk = "@PASS_bloomfield@";
|
||||
"9872441500".psk = "@PASS_longboat_home@";
|
||||
"9872441561".psk = "@PASS_longboat_home@";
|
||||
"5HuFios".psk = "@PASS_longboat_home@";
|
||||
"24HuFios".psk = "@PASS_longboat_home@";
|
||||
};
|
||||
};
|
||||
|
||||
networking.nameservers = [
|
||||
"192.168.76.1"
|
||||
"9.9.9.9"
|
||||
];
|
||||
|
||||
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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user