mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-16 19:22:00 -05:00
Init:start-nix
This commit is contained in:
16
modules/drivers/bluetooth.nix
Normal file
16
modules/drivers/bluetooth.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
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 true;
|
||||
};
|
||||
services.blueman.enable = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user