diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-09-07 04:21:01 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-09-07 04:21:01 +0200 |
| commit | 477c546ff2d9dc6448d5783bfdb69b7208e28f98 (patch) | |
| tree | 1135cc31eff829efcda7e37afd5b9c10a8dbc66d /hosts/wonderland/default.nix | |
| parent | b25ca11c202d690f65bc3896dbdb40ca2e8685cc (diff) | |
Update flake.lock, switch to iwd, enable guix
Diffstat (limited to 'hosts/wonderland/default.nix')
| -rw-r--r-- | hosts/wonderland/default.nix | 55 |
1 files changed, 1 insertions, 54 deletions
diff --git a/hosts/wonderland/default.nix b/hosts/wonderland/default.nix index a4a0998..87df419 100644 --- a/hosts/wonderland/default.nix +++ b/hosts/wonderland/default.nix @@ -1,5 +1,4 @@ { - config, pkgs, flakeRoot, inputs, @@ -36,45 +35,7 @@ networking = { hostName = "wonderland"; - wireless = { - enable = true; - environmentFile = config.sops.secrets."wireless.env".path; - userControlled.enable = true; - networks = { - "@HOME_WIFI_SSID@".psk = "@HOME_WIFI_PSK@"; - "@PHONE_HOTSPOT_SSID@" = { - psk = "@PHONE_HOTSPOT_PSK@"; - hidden = true; - }; - "eduroam" = { - authProtocols = [ "WPA-EAP" ]; - auth = '' - pairwise=CCMP TKIP - eap=TTLS PEAP TLS - group=CCMP TKIP - identity="mbastaja@tvz.hr" - altsubject_match="DNS:freeradius.tvz.hr" - phase1="peaplabel=0" - phase2="auth=PAP" - password="@EDUROAM_PASS@" - anonymous_identity="anonymous@tvz.hr" - ''; - }; - "Students-TVZ" = { - authProtocols = [ "WPA-EAP" ]; - auth = '' - pairwise=CCMP TKIP - eap=PEAP - group=CCMP TKIP - identity="mbastaja@tvz.hr" - phase1="peaplabel=0" - phase2="auth=MSCHAPV2" - password="@EDUROAM_PASS@" - ''; - }; - "mizu by praguedays.com".psk = "@MIZU_PSK@"; - }; - }; + wireless.iwd.enable = true; }; time.timeZone = "Europe/Zagreb"; @@ -99,20 +60,6 @@ "podman" ]; }; - madhatter = { - isNormalUser = true; - extraGroups = [ - "video" - "network" - ]; - }; - guest = { - isNormalUser = true; - extraGroups = [ - "video" - "network" - ]; - }; }; nix.settings.trusted-users = [ "alice" ]; |
