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
parent 327e209afc
commit 07afbe8b80
6 changed files with 51 additions and 41 deletions

View file

@ -272,11 +272,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1711124224,
"narHash": "sha256-l0zlN/3CiodvWDtfBOVxeTwYSRz93muVbXWSpaMjXxM=",
"lastModified": 1711460390,
"narHash": "sha256-akSgjDZL6pVHEfSE6sz1DNSXuYX6hq+P/1Z5IoYWs7E=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "56528ee42526794d413d6f244648aaee4a7b56c0",
"rev": "44733514b72e732bd49f5511bd0203dea9b9a434",
"type": "github"
},
"original": {

View file

@ -160,7 +160,6 @@ in {
};
};
rainbow-delimiters = {
enable = true;
};

View file

@ -22,6 +22,11 @@ in {
ripgrep
fzf
colorls
#optional
pciutils
usbutils
htop
];
wyrdgard = {

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

View file

@ -14,7 +14,7 @@
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.kernelModules = ["kvm-amd" "btusb"];
boot.extraModulePackages = [];
fileSystems."/" = {
@ -27,12 +27,6 @@
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