diff options
author | Akshay <[email protected]> | 2022-08-21 03:26:02 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-08-21 03:26:02 +0100 |
commit | 467552d5876ca2535a270c506fbfbd54946fe348 (patch) | |
tree | 7cce4d7ce41711630f0f4e45f0c266516d8f9fb8 /hosts | |
parent | 6066b1bbe2c1cdaa8b0085a92071c11d64e9abbf (diff) |
switch to iwd
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/olive/configuration.nix | 14 |
1 files changed, 6 insertions, 8 deletions
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 @@ | |||
14 | networking = { | 14 | networking = { |
15 | hostName = "olive"; | 15 | hostName = "olive"; |
16 | wireless = { | 16 | wireless = { |
17 | enable = true; | 17 | iwd.enable = true; |
18 | interfaces = [ | 18 | interfaces = [ "wlan0" ]; |
19 | "wlp2s0" | ||
20 | ]; | ||
21 | environmentFile = "/home/np/.wireless.env"; | 19 | environmentFile = "/home/np/.wireless.env"; |
22 | networks = { | 20 | networks = { |
23 | Sanic.psk = "@PSK_SANI@"; | 21 | Sanic.psk = "@PSK_SANI@"; |
@@ -31,10 +29,10 @@ | |||
31 | ''; | 29 | ''; |
32 | }; | 30 | }; |
33 | useDHCP = false; | 31 | useDHCP = false; |
34 | interfaces.wlp2s0.useDHCP = true; | 32 | interfaces.wlan0.useDHCP = true; |
35 | }; | 33 | }; |
36 | 34 | ||
37 | #networking.nameservers = [ "1.1.1.1" "1.0.0.1" ]; | 35 | networking.nameservers = [ "1.1.1.1" "1.0.0.1" ]; |
38 | 36 | ||
39 | i18n.defaultLocale = "en_US.UTF-8"; | 37 | i18n.defaultLocale = "en_US.UTF-8"; |
40 | time.timeZone = "Asia/Kolkata"; | 38 | time.timeZone = "Asia/Kolkata"; |
@@ -124,10 +122,10 @@ | |||
124 | nix = { | 122 | nix = { |
125 | package = pkgs.nixUnstable; | 123 | package = pkgs.nixUnstable; |
126 | extraOptions = '' | 124 | extraOptions = '' |
127 | experimental-features = nix-command flakes ca-derivations | 125 | experimental-features = nix-command flakes |
128 | warn-dirty = false | 126 | warn-dirty = false |
129 | keep-outputs = false | 127 | keep-outputs = false |
130 | keep-derivations = true | 128 | keep-derivations = false |
131 | ''; | 129 | ''; |
132 | settings = { | 130 | settings = { |
133 | trusted-users = [ | 131 | trusted-users = [ |