From f9343a67b616f84a7931359ecc9a379ab2673f8e Mon Sep 17 00:00:00 2001 From: Jo Date: Sat, 1 Jun 2024 03:39:33 +0200 Subject: [PATCH] [general] update bluetooth config, several tweaks in home-manager section Signed-off-by: Jo --- hosts/puzzlevision/configuration.nix | 16 ++++++++++++++++ users/jo/home.nix | 1 + 2 files changed, 17 insertions(+) diff --git a/hosts/puzzlevision/configuration.nix b/hosts/puzzlevision/configuration.nix index cf3d168..a38e2f9 100644 --- a/hosts/puzzlevision/configuration.nix +++ b/hosts/puzzlevision/configuration.nix @@ -115,14 +115,26 @@ hardware.bluetooth = { enable = true; powerOnBoot = true; + package = pkgs.bluez; settings = { General = { Disable = "Handsfree"; + ControllerMode = "dual"; + FastConnectable = "true"; + Experimental = "true"; + KernelExperimental = "true"; }; }; }; + services.blueman.enable = true; + + programs.steam = { + remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server + }; + # Enable automatic screen rotation and similar features hardware.sensor.iio.enable = true; @@ -170,6 +182,10 @@ vlc libreoffice spotify + + # Bluetooth + bluez + bluez-tools ]; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion diff --git a/users/jo/home.nix b/users/jo/home.nix index ef91c2d..550d8f3 100644 --- a/users/jo/home.nix +++ b/users/jo/home.nix @@ -33,6 +33,7 @@ wineWowPackages.waylandFull vesktop lunar-client + steam # For development avra