From 467552d5876ca2535a270c506fbfbd54946fe348 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 21 Aug 2022 07:56:02 +0530 Subject: switch to iwd --- hosts/olive/configuration.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'hosts/olive') diff --git a/hosts/olive/configuration.nix b/hosts/olive/configuration.nix index 5ecce25..c4e7f17 100644 --- a/hosts/olive/configuration.nix +++ b/hosts/olive/configuration.nix @@ -14,10 +14,8 @@ networking = { hostName = "olive"; wireless = { - enable = true; - interfaces = [ - "wlp2s0" - ]; + iwd.enable = true; + interfaces = [ "wlan0" ]; environmentFile = "/home/np/.wireless.env"; networks = { Sanic.psk = "@PSK_SANI@"; @@ -31,10 +29,10 @@ ''; }; useDHCP = false; - interfaces.wlp2s0.useDHCP = true; + interfaces.wlan0.useDHCP = true; }; - #networking.nameservers = [ "1.1.1.1" "1.0.0.1" ]; + networking.nameservers = [ "1.1.1.1" "1.0.0.1" ]; i18n.defaultLocale = "en_US.UTF-8"; time.timeZone = "Asia/Kolkata"; @@ -124,10 +122,10 @@ nix = { package = pkgs.nixUnstable; extraOptions = '' - experimental-features = nix-command flakes ca-derivations + experimental-features = nix-command flakes warn-dirty = false keep-outputs = false - keep-derivations = true + keep-derivations = false ''; settings = { trusted-users = [ -- cgit v1.2.3