Fix DHCP weirdness with Wi-Fi
This commit is contained in:
parent
d771988d63
commit
bd5fe55b0c
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = with config.chvp.base.network.mobile; lib.mkIf enable {
|
config = with config.chvp.base.network.mobile; lib.mkIf enable {
|
||||||
networking.wireless = {
|
networking = {
|
||||||
|
useDHCP = false;
|
||||||
|
wireless = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interfaces = [ wireless-interface ];
|
interfaces = [ wireless-interface ];
|
||||||
environmentFile = config.age.secrets."passwords/networks.age".path;
|
environmentFile = config.age.secrets."passwords/networks.age".path;
|
||||||
|
@ -49,6 +51,7 @@
|
||||||
"GUK-huis".psk = "@PSK_GUKhuis@";
|
"GUK-huis".psk = "@PSK_GUKhuis@";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
networks = {
|
networks = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue