diff options
| author | Fuwn <[email protected]> | 2024-09-03 01:52:03 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-03 01:52:03 -0700 |
| commit | c6deea451af1af2fdf4aee7f1ed74209f312a9b3 (patch) | |
| tree | d725ce5a39939b1379f2a4141cd0ab54c1ef16cc /modules/hardware | |
| parent | home (diff) | |
| download | nixos-config-c6deea451af1af2fdf4aee7f1ed74209f312a9b3.tar.xz nixos-config-c6deea451af1af2fdf4aee7f1ed74209f312a9b3.zip | |
modules
Diffstat (limited to 'modules/hardware')
| -rw-r--r-- | modules/hardware/bluetooth.nix | 11 | ||||
| -rw-r--r-- | modules/hardware/default.nix | 1 | ||||
| -rw-r--r-- | modules/hardware/graphics.nix | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/modules/hardware/bluetooth.nix b/modules/hardware/bluetooth.nix index 1b6e38b..ede4f77 100644 --- a/modules/hardware/bluetooth.nix +++ b/modules/hardware/bluetooth.nix @@ -1,6 +1,17 @@ +{ pkgs, ... }: { hardware.bluetooth = { enable = true; powerOnBoot = true; + package = pkgs.bluez5-experimental; + disabledPlugins = [ "sap" ]; + + settings = { + General = { + JustWorksRepairing = "always"; + MultiProfile = "multiple"; + Experimental = true; + }; + }; }; } diff --git a/modules/hardware/default.nix b/modules/hardware/default.nix index fe52084..4c413a0 100644 --- a/modules/hardware/default.nix +++ b/modules/hardware/default.nix @@ -8,5 +8,6 @@ hardware = { enableRedistributableFirmware = true; enableAllFirmware = true; + cpu.amd.updateMicrocode = true; }; } diff --git a/modules/hardware/graphics.nix b/modules/hardware/graphics.nix index b757b58..0e01517 100644 --- a/modules/hardware/graphics.nix +++ b/modules/hardware/graphics.nix @@ -9,5 +9,11 @@ vaapiVdpau libvdpau-va-gl ]; + + extraPackages32 = with pkgs; [ + nvidia-vaapi-driver + vaapiVdpau + libvdpau-va-gl + ]; }; } |