bluetooth is sadly not working again and I forgot how I fixed it last time

This commit is contained in:
christoph.hollizeck 2024-03-27 16:30:39 +01:00
parent d84f355ede
commit e36bd73529
2 changed files with 14 additions and 6 deletions

View file

@ -17,12 +17,14 @@ in {
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Experimental = true;
KernelExperimental = true;
};
};
};
fileSystems."/var/lib/bluetooth" = {
device = "/persist/var/lib/bluetooth";
options = ["bind" "noauto" "x-systemd.automount"];
noCheck = true;
};
# https://github.com/NixOS/nixpkgs/issues/170573
};
}

View file

@ -12,7 +12,7 @@
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
@ -27,6 +27,12 @@
fsType = "vfat";
};
fileSystems."/var/lib/bluetooth" = {
device = "/persist/var/lib/bluetooth";
options = ["bind" "noauto" "x-systemd.automount"];
noCheck = true;
};
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking