mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 11:12:00 -05:00
17 lines
324 B
Nix
17 lines
324 B
Nix
{
|
|
hostname,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (import ../../hosts/${hostname}/env.nix) Bluetooth;
|
|
in
|
|
with lib; {
|
|
config = mkIf Bluetooth {
|
|
hardware.bluetooth = {
|
|
enable = lib.mkDefault true;
|
|
powerOnBoot = lib.mkDefault false;
|
|
};
|
|
services.blueman.enable = lib.mkDefault true;
|
|
};
|
|
}
|