From f53589c12df8b272d140409f4da0346428d37dde Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 22 Jan 2023 10:58:25 +0530 Subject: use iwctl instead of wpa supplicant --- hosts/myrtle/configuration.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/myrtle/configuration.nix b/hosts/myrtle/configuration.nix index 3bd8c56..f0a34e2 100644 --- a/hosts/myrtle/configuration.nix +++ b/hosts/myrtle/configuration.nix @@ -12,8 +12,19 @@ networking = { hostName = "myrtle"; - wireless.enable = true; - wireless.networks.Srividhya.psk = "gopalan2020"; + # wireless.enable = true; + # wireless.networks.Srividhya.psk = "gopalan2020"; + wireless = { + iwd.enable = true; + interfaces = [ "wl01" ]; + environmentFile = "/home/np/.wireless.env"; + networks = { + Sanic.psk = "@PSK_SANI@"; + Gopalan.psk = "@PSK_GOPA@"; + Srividhya.psk = "@PSK_SRIV@"; + sage.psk = "@PSK_SAGE@"; + }; + }; }; -- cgit v1.2.3