bluetooth still not working but at least I am tyding up the config

This commit is contained in:
christoph.hollizeck 2024-03-27 20:52:06 +01:00 committed by Christoph Hollizeck
parent 74959a7edf
commit 30aa0ec9ae
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
6 changed files with 51 additions and 41 deletions

View file

@ -14,6 +14,10 @@ in {
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
libsForQt5.bluez-qt
];
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
@ -25,6 +29,12 @@ in {
};
};
fileSystems."/var/lib/bluetooth" = {
device = "/persist/var/lib/bluetooth";
options = ["bind" "noauto" "x-systemd.automount"];
noCheck = true;
};
# https://github.com/NixOS/nixpkgs/issues/170573
};
}