mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
39 lines
903 B
Nix
39 lines
903 B
Nix
{ pkgs, ... }:
|
|
{
|
|
networking.networkmanager.ensureProfiles.profiles = {
|
|
"39C3" = {
|
|
connection = {
|
|
id = "39C3";
|
|
type = "wifi";
|
|
};
|
|
wifi = {
|
|
mode = "infrastructure";
|
|
ssid = "39C3";
|
|
};
|
|
wifi-security = {
|
|
auth-alg = "open";
|
|
key-mgmt = "wpa-eap";
|
|
};
|
|
"802-1x" = {
|
|
anonymous-identity = "39C3";
|
|
eap = "ttls;";
|
|
identity = "39C3";
|
|
password = "39C3";
|
|
phase2-auth = "pap";
|
|
altsubject-matches = "DNS:radius.c3noc.net";
|
|
ca-cert = "${builtins.fetchurl {
|
|
url = "https://letsencrypt.org/certs/isrgrootx1.pem";
|
|
sha256 = "sha256:1la36n2f31j9s03v847ig6ny9lr875q3g7smnq33dcsmf2i5gd92";
|
|
}}";
|
|
};
|
|
ipv4 = {
|
|
method = "auto";
|
|
};
|
|
ipv6 = {
|
|
addr-gen-mode = "default";
|
|
method = "auto";
|
|
};
|
|
};
|
|
};
|
|
}
|