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 {
|
||||
networking.wireless = {
|
||||
networking = {
|
||||
useDHCP = false;
|
||||
wireless = {
|
||||
enable = true;
|
||||
interfaces = [ wireless-interface ];
|
||||
environmentFile = config.age.secrets."passwords/networks.age".path;
|
||||
|
@ -49,6 +51,7 @@
|
|||
"GUK-huis".psk = "@PSK_GUKhuis@";
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue