From 30f1b4d92142ed378bac9edb54f438a7f1ba5e0a Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 16 Oct 2026 23:58:30 +0200 Subject: init --- hosts/phosphophyllite/default.nix | 56 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 hosts/phosphophyllite/default.nix (limited to 'hosts/phosphophyllite/default.nix') diff --git a/hosts/phosphophyllite/default.nix b/hosts/phosphophyllite/default.nix new file mode 100644 index 0000000..0f1f9c1 --- /dev/null +++ b/hosts/phosphophyllite/default.nix @@ -0,0 +1,56 @@ +{...}: { + imports = [ + ./hardware-configuration.nix + ]; + + services.xserver.videoDrivers = [ "nvidia" ]; + + hardware.nvidia = { + modesetting.enable = true; + powerManagement.enable = false; + powerManagement.finegrained = false; + open = false; + nvidiaSettings = true; + }; + + services.pipewire.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; + }; + }; + } + { + matches = [ + { + "node.name" = "alsa_output.usb-HP__Inc_HyperX_Cloud_II_Core_Wireless-00"; + } + ]; + actions = { + update-props = { + "node.description" = "HyperX Cloud II"; + }; + }; + } + ]; + }; +} -- cgit v1.2.3