summaryrefslogtreecommitdiff
path: root/nixos/features/services/hardware/iwd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/features/services/hardware/iwd.nix')
-rw-r--r--nixos/features/services/hardware/iwd.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/nixos/features/services/hardware/iwd.nix b/nixos/features/services/hardware/iwd.nix
new file mode 100644
index 0000000..c2394bc
--- /dev/null
+++ b/nixos/features/services/hardware/iwd.nix
@@ -0,0 +1,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;
+ };
+ };
+ };
+ };
+}