This commit is contained in:
catvayor 2024-05-31 23:34:05 +02:00
parent 3bda727446
commit b0192a4371

View file

@ -29,6 +29,7 @@
}; };
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
hardware = { hardware = {
pulseaudio = { pulseaudio = {
enable = true; enable = true;
@ -91,4 +92,40 @@
# virtualisation.libvirtd.enable = true; # virtualisation.libvirtd.enable = true;
system.stateVersion = "23.11"; system.stateVersion = "23.11";
networking.networkmanager.ensureProfiles.profiles = {
"GPN" = {
connection = {
id = "GPN";
type = "wifi";
autoconnect = true;
interface-name = "wlp0s20f3";
};
wifi = {
mode = "infrastructure";
ssid = "GPN";
};
wifi-security = {
key-mgmt = "wpa-eap";
};
"802-1x" = {
eap = "ttls;";
identity = "gpn";
password = "gpn";
phase2-auth = "pap";
domain-suffix-match = "radius.noc.gulas.ch";
ca-cert = "${builtins.fetchurl {
url = "https://letsencrypt.org/certs/isrgrootx1.pem";
sha256 = "sha256:1la36n2f31j9s03v847ig6ny9lr875q3g7smnq33dcsmf2i5gd92";
}}";
};
ipv4 = {
method = "auto";
};
ipv6 = {
addr-gen-mode = "stable-privacy";
method = "auto";
};
};
};
} }