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
};
}

View file

@ -17,6 +17,8 @@ in {
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LANG = "en_US.UTF-8";
LC_ALL = "en_US.UTF-8";
LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8";
LC_MEASUREMENT = "de_DE.UTF-8";