nixos-config/user/controller.nix
2024-06-05 01:20:01 -03:00

22 lines
385 B
Nix

{
config,
pkgs,
lib,
inputs,
...
}:
{
xdg.desktopEntries = {
connect-controller = {
name = "Connect Controller";
exec = "bluetoothctl connect 84:30:95:97:1A:79";
terminal = false;
};
disconnect-controller = {
name = "Disconnect Controller";
exec = "bluetoothctl disconnect 84:30:95:97:1A:79";
terminal = false;
};
};
}