adding wifi.nix
This commit is contained in:
parent
607a115378
commit
1436a56524
|
@ -13,6 +13,7 @@
|
||||||
../../modules/autoupdate.nix
|
../../modules/autoupdate.nix
|
||||||
../../modules/desktop.nix
|
../../modules/desktop.nix
|
||||||
../../modules/printing.nix
|
../../modules/printing.nix
|
||||||
|
../../modules/wifi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
|
24
modules/wifi.nix
Normal file
24
modules/wifi.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue