232 current 1970-01-01 01:00:00 24.05.20240312.0ad13a6 6.6.21 *

This commit is contained in:
Max Känner 2024-03-15 14:00:06 +01:00
parent a91af9bae7
commit ef30450892
2 changed files with 3 additions and 35 deletions

View File

@ -194,7 +194,6 @@ in {
{command = "${pkgs.keepassxc}/bin/keepassxc";}
{command = "${pkgs.waybar}/bin/waybar";}
{command = "${pkgs.foot}/bin/foot -a foot-startup";}
{command = "${pkgs.wpa_supplicant_gui}/bin/wpa_gui -t";}
];
defaultWorkspace = "main";

View File

@ -7,43 +7,12 @@
sopsFile = ../../secrets/wifi.yaml;
};
sops.age.keyFile = /home/max/.config/sops/age/keys.txt;
networking.wireless = {
networking.networkmanager = {
enable = true;
userControlled.enable = true;
environmentFile = config.sops.secrets."wireless.env".path;
networks = {
"@home_uuid@" = {
psk = "@home_psk@";
priority = 10;
};
"@par_uuid@" = {
psk = "@par_psk@";
priority = 10;
};
"@luhbots_uuid@" = {
psk = "@luhbots_psk@";
priority = 5;
};
eduroam = {
auth = ''
key_mgmt=WPA-EAP
proto=RSN
pairwise=CCMP
group=CCMP
eap=TTLS
phase2="auth=MSCHAPV2"
anonymous_identity="anonymous@uni-hannover.de"
identity="@eduroam_ident@"
password="@eduroam_psk@"
ca_cert="/etc/ssl/certs/T-TeleSec_GlobalRoot_Class_2.crt"
'';
priority = 0;
};
};
wifi.backend = "wpa_supplicant";
};
users.extraUsers.max.extraGroups = ["wheel"];
environment.systemPackages = with pkgs; [
wpa_supplicant_gui
nm-tray
];
}