dotfiles/os/wireless.nix

14 lines
346 B
Nix
Raw Normal View History

2023-10-22 22:27:58 +02:00
{ pkgs, ... }:
{
# wireless support via wpa_supplicant
networking.wireless = {
enable = true;
extraConfig = ''
country=NL
'';
};
2023-12-22 19:47:23 +01:00
networking.wireless.userControlled.enable = true; # Allow some control with wpa_cli
2023-10-22 22:27:58 +02:00
environment.systemPackages = with pkgs; [ wirelesstools ];
2023-10-28 19:33:40 +02:00
services.chrony.serverOption = "offline";
2023-10-22 22:27:58 +02:00
}