[fix] Use lib.optionals where possible

This commit is contained in:
uttarayan21
2024-03-11 09:16:47 +05:30
parent 3487d5eb28
commit 6fcac28663
4 changed files with 18 additions and 12 deletions

View File

@@ -73,6 +73,13 @@
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
hardware.bluetooth.settings = {
General = {
Name = "Ryu";
Enable = "Source,Sink,Media,Socket";
};
};
# Bootloader.
boot.loader.systemd-boot.enable = pkgs.lib.mkForce false;

View File

@@ -46,6 +46,8 @@
};
# hardware.bluetooth.settings = {
boot.initrd.availableKernelModules =
[ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];