summaryrefslogtreecommitdiff
path: root/nixos/features/services/hardware/iwd.nix
blob: c2394bc14f1bd7c152a9273fceab6d921405af2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ config, pkgs, lib, ... }: let
  cfg = config.features.services.hardware.iwd;
in {
  options.features.services.hardware.iwd.enable = lib.mkEnableOption "iwd";
  config = lib.mkIf cfg.enable {
    environment.systemPackages = [ pkgs.impala ];
    networking.wireless.iwd = {
      enable = true;
      settings = {
        IPv6 = {
          Enabled = true;
        };
        Settings = {
          AutoConnect = true;
        };
      };
    };
  };
}