fruitbasket/modules/wifi.nix

25 lines
547 B
Nix
Raw Normal View History

2022-03-05 14:18:40 +01:00
#
# Useful config
# https://tu-dresden.de/zih/dienste/service-katalog/arbeitsumgebung/zugang_datennetz/wlan-eduroam
# https://www.stura.htw-dresden.de/stura/ref/hopo/dk/nachrichten/eduroam-meets-nixos
#
2022-09-06 17:16:31 +02:00
{ pkgs, config, ... }:
let
2022-03-05 14:53:36 +01:00
password = "$(${pkgs.coreutils}/bin/cat /run/secrets/fsr_wifi_psk)";
2022-09-06 17:16:31 +02:00
in
{
2022-03-05 14:18:40 +01:00
networking = {
wireless = {
enable = true;
networks = {
"FSR" = {
priority = 10;
pskRaw = "9dbdf08e1205b1167a812a35cfac4b49a86e155eec707bd47f4d06d829e7d168";
};
};
};
};
}