nixos-config/user/controller.nix

22 lines
385 B
Nix
Raw Normal View History

{
config,
pkgs,
lib,
inputs,
...
}:
{
2022-12-01 00:08:54 -03:00
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;
};
};
}