Use iwd DHCP
This commit is contained in:
parent
dd32b217be
commit
1b475ff93e
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, inputs, config, ... }:
|
||||
{ pkgs, lib, inputs, config, ... }:
|
||||
let
|
||||
serverIP = "10.0.0.1";
|
||||
in {
|
||||
|
@ -18,6 +18,8 @@ in {
|
|||
zramSwap.enable = true;
|
||||
services.upower.enable = true;
|
||||
services.logind.extraConfig = ''HandlePowerKey=ignore'';
|
||||
|
||||
networking.interfaces.wlan0.useDHCP = lib.mkDefault false;
|
||||
networking.wireless.iwd.enable = true;
|
||||
networking.wireless.iwd.settings = {
|
||||
IPv6 = {
|
||||
|
@ -26,6 +28,9 @@ in {
|
|||
Settings = {
|
||||
AutoConnect = true;
|
||||
};
|
||||
General = {
|
||||
EnableNetworkConfiguration = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue