Fun artemision changes

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-03-28 02:39:29 -04:00
committed by Alice Huston
parent 6a419c3143
commit 97337d0714
8 changed files with 114 additions and 6 deletions

View File

@ -0,0 +1,37 @@
{ config, ... }:
{
networking.wireless = {
enable = true;
environmentFile = config.sops.secrets."wifi-env".path;
networks = {
"taetaethegae-2.0".psk = "@PASS_taetaethegae_20@";
};
};
networking.nameservers = [
"192.168.76.1"
"9.9.9.9"
];
#pinentryPackage = pkgs.pinentry-rofi;
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" ];
};
};
};
}