mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-17 07:44:41 +04:00
26 lines
381 B
Nix
26 lines
381 B
Nix
{ pkgs
|
|
, lib
|
|
, rootPath
|
|
, config
|
|
, ...
|
|
}:
|
|
let
|
|
cfg = config.kp2pml30;
|
|
in lib.mkIf cfg.hardware.wireless {
|
|
networking = {
|
|
networkmanager.enable = false;
|
|
wireless.iwd = {
|
|
enable = true;
|
|
settings = {
|
|
Settings.AutoConnect = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
hardware.bluetooth = {
|
|
enable = true;
|
|
powerOnBoot = true;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [ bluetui ];
|
|
}
|