diff options
| author | alex <[email protected]> | 2026-10-16 16:36:24 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-10-16 16:36:24 +0200 |
| commit | 5432700f931135d70a9b937d00953f94dec8a473 (patch) | |
| tree | 848b649f2e24c9ab63bf651adbc72b59c50fb42a /nixos | |
| parent | f38e4bac71d8b8e39e8865968dbb330c09123b28 (diff) | |
| download | nixos-5432700f931135d70a9b937d00953f94dec8a473.tar.xz nixos-5432700f931135d70a9b937d00953f94dec8a473.zip | |
added gamescope and qemu
Diffstat (limited to 'nixos')
| -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 |
