fix: dual boot bluetooth key

This commit is contained in:
DACHXY 2025-04-14 11:56:16 +08:00
parent 21dd6582e8
commit 42ab0e94ce
3 changed files with 12 additions and 1 deletions

View file

@ -45,6 +45,9 @@
# VLC
"workspace: 3, initialClass: ^(vlc), floating: 0"
# vesktop
"workspace: 2 silent, initialClass: ^(vesktop), floating: 0"
];
layerrule = [

View file

@ -29,6 +29,11 @@
};
};
# Disable integrated bluetooth adapter
services.udev.extraRules = ''
SUBSYSTEM=="usb", ATTRS{idVendor}=="8087", ATTRS{idProduct}=="0033", ATTR{authorized}="0"
'';
environment.systemPackages = with pkgs; [
prismlauncher
];

View file

@ -1,7 +1,6 @@
{
config,
pkgs,
lib,
...
}:
@ -39,8 +38,12 @@
hardware = {
steam-hardware.enable = true;
# Xbox controller
xpadneo.enable = true;
# Xbox USB dongle
xone.enable = true;
};
boot.extraModulePackages = with config.boot.kernelPackages; [