adding wifi.nix

This commit is contained in:
revol-xut 2022-03-05 14:18:40 +01:00
parent 607a115378
commit 1436a56524
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07
2 changed files with 25 additions and 0 deletions

View file

@ -13,6 +13,7 @@
../../modules/autoupdate.nix
../../modules/desktop.nix
../../modules/printing.nix
../../modules/wifi.nix
];
# Use the systemd-boot EFI boot loader.

24
modules/wifi.nix Normal file
View file

@ -0,0 +1,24 @@
#
# Author: Tassilo Tanneberger <tassilo.tanneberger@tu-dresden.de>
# 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";
};
};
};
};
}