aboutsummaryrefslogtreecommitdiff
path: root/hosts/wonderland/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/wonderland/default.nix')
-rw-r--r--hosts/wonderland/default.nix55
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" ];