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 +++++++++++++-- services/default.nix | 2 +- services/picom.nix | 2 -- 3 files changed, 14 insertions(+), 5 deletions(-) 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@"; + }; + }; }; diff --git a/services/default.nix b/services/default.nix index dda2992..83955bf 100644 --- a/services/default.nix +++ b/services/default.nix @@ -8,7 +8,7 @@ imports = [ ./dunst.nix - # ./picom.nix + ./picom.nix ./redshift.nix ./sxhkd.nix ./mbsync.nix diff --git a/services/picom.nix b/services/picom.nix index 08ba376..5def96a 100644 --- a/services/picom.nix +++ b/services/picom.nix @@ -11,7 +11,5 @@ fadeDelta = 10; fadeSteps = [ "0.04" "0.04" ]; shadow = false; - shadowOffsets = [ (-60) (-60) ]; - shadowOpacity = "0.20"; }; } -- cgit v1.2.3