From 1436a565241ebadc8d0a775d4c274cf2f5114d6b Mon Sep 17 00:00:00 2001 From: revol-xut Date: Sat, 5 Mar 2022 14:18:40 +0100 Subject: [PATCH] adding wifi.nix --- hosts/birne/configuration.nix | 1 + modules/wifi.nix | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 modules/wifi.nix diff --git a/hosts/birne/configuration.nix b/hosts/birne/configuration.nix index 69a1d8b..9bdd5bc 100644 --- a/hosts/birne/configuration.nix +++ b/hosts/birne/configuration.nix @@ -13,6 +13,7 @@ ../../modules/autoupdate.nix ../../modules/desktop.nix ../../modules/printing.nix + ../../modules/wifi.nix ]; # Use the systemd-boot EFI boot loader. diff --git a/modules/wifi.nix b/modules/wifi.nix new file mode 100644 index 0000000..e5fdc9f --- /dev/null +++ b/modules/wifi.nix @@ -0,0 +1,24 @@ +# +# Author: Tassilo Tanneberger +# Project: Dotfiles +# +# +# 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 +# +{ pkgs, config, ... }: { + networking = { + wireless = { + enable = true; + networks = { + "FSR" = { + priority = 10; + pskRaw = "9dbdf08e1205b1167a812a35cfac4b49a86e155eec707bd47f4d06d829e7d168"; + }; + }; + }; + }; +} + +