bluetooth still not working but at least I am tyding up the config
This commit is contained in:
parent
74959a7edf
commit
30aa0ec9ae
6 changed files with 51 additions and 41 deletions
|
@ -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
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue