Sleep changed, added headphones command.

This commit is contained in:
2025-09-23 09:49:08 +03:00
parent a98e77d41a
commit 5d15135670
8 changed files with 61 additions and 10 deletions
+23
View File
@@ -0,0 +1,23 @@
{
lib,
config,
pkgs,
...
}: let
isEnabled =
config.azos.headphones-whmx4000.enable;
in {
options.azos.headphones-whmx4000.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
config = lib.mkIf isEnabled {
home.packages = with pkgs; [
( pkgs.writeShellScriptBin
"azos-connect-headphones-whmx4000"
"echo \"connect AC:80:0A:AF:E1:C2\" | bluetoothctl" )
];
};
}