blob: 104cbf1a55c169d7664e9e00ffdf6a6a6cf9ca41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
{ ... }: {
imports = [
./hardware-configuration.nix
];
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
};
hardware.graphics = {
enable = true;
enable32Bit = 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";
};
};
}
];
};
}
|