hardware: remove controller hacks

This commit is contained in:
Leonardo Eugênio 2024-08-28 19:56:54 -03:00
parent b18d3b52c2
commit 630660afcf
5 changed files with 1 additions and 60 deletions

View file

@ -1,26 +0,0 @@
{ pkgs, lib, ... }:
{
systemd.user.services = {
autoconnect-gamepad = {
Unit = {
Description = "Attempt to connect to game controllers";
PartOf = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
};
Service = {
ExecStart = lib.getExe pkgs.auto_connect_gamepad;
};
Install = {
WantedBy = [ "sway-session.target" ];
};
};
};
xdg.desktopEntries = {
disconnect-controller = {
name = "Disconnect Controller";
exec = "bluetoothctl disconnect 84:30:95:97:1A:79";
terminal = false;
};
};
}

View file

@ -8,7 +8,6 @@
}:
{
imports = [
./controller.nix
./waybar
./helix.nix
./kakoune