diff options
Diffstat (limited to 'nixos/configuration.nix')
| -rw-r--r-- | nixos/configuration.nix | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 655e124..7a0cc14 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -131,6 +131,48 @@ alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; + + wireplumber.extraConfig."10-rename-devices" = { + "monitor.alsa.rules" = [ + { + matches = [ + { + "node.name" = "alsa_output.pci-0000_0a_00.4.analog-stereo"; + } + ]; + actions = { + update-props = { + "node.description" = "Speakers"; + }; + }; + } + { + matches = [ + { + "node.name" = "alsa_output.pci-0000_08_00.1.hdmi-stereo"; + } + ]; + actions = { + update-props = { + "device.disabled" = true; + }; + }; + } + # Example for your HyperX headset (replace with full name from wpctl status): + { + matches = [ + { + "node.name" = "alsa_output.usb-HP__Inc_HyperX_Cloud_II_Core_Wireless-00"; + } + ]; + actions = { + update-props = { + "node.description" = "HyperX Cloud II"; + }; + }; + } + ]; +}; }; services.tailscale = { @@ -153,7 +195,8 @@ fonts.packages = with pkgs; [ starship fastfetch git - neovim + neovim + qemu firefox-bin cliphist easyeffects @@ -173,6 +216,7 @@ fonts.packages = with pkgs; [ glib cliphist opencode + gamescope inputs.serpantinum.packages.${pkgs.stdenv.hostPlatform.system}.default (prismlauncher.override { # Include required JDKs for various Minecraft versions @@ -186,6 +230,8 @@ fonts.packages = with pkgs; [ }) ]; + programs.direnv.enable = true; + programs.helium = { enable = true; flags = [ @@ -202,6 +248,7 @@ fonts.packages = with pkgs; [ programs.steam = { enable = true; + gamescopeSession.enable = true; }; programs.spicetify = let |
