tangled
alpha
login
or
join now
bwc9876.dev
/
nixos-config
1
fork
atom
Flake for my NixOS devices
1
fork
atom
overview
issues
pulls
pipelines
Gamescope Headless
bwc9876.dev
1 year ago
5aae1a28
dea34ed9
verified
This commit was signed with the committer's
known signature
.
bwc9876.dev
SSH Key Fingerprint:
SHA256:DanMEP/RNlSC7pAVbnXO6wzQV00rqyKj053tz4uH5gQ=
+26
-1
1 changed file
expand all
collapse all
unified
split
systemConfigs
black-mesa.nix
+26
-1
systemConfigs/black-mesa.nix
···
19
19
boot.kernelModules = ["kvm-amd"];
20
20
boot.extraModulePackages = [];
21
21
22
22
+
services.pulseaudio.enable = false;
23
23
+
24
24
+
security.rtkit.enable = true; # Allows pipewire and friends to run realtime
25
25
+
26
26
+
programs.nix-ld = {
27
27
+
enable = true;
28
28
+
};
29
29
+
30
30
+
services.pipewire = {
31
31
+
enable = true;
32
32
+
pulse.enable = true;
33
33
+
alsa = {
34
34
+
enable = true;
35
35
+
support32Bit = true;
36
36
+
};
37
37
+
};
38
38
+
22
39
programs.steam = {
23
40
enable = true;
24
41
remotePlay.openFirewall = true;
···
28
45
29
46
programs.gamescope = {
30
47
enable = true;
31
31
-
args = ["--rt"];
48
48
+
package = pkgs.gamescope.overrideAttrs (new: old: {
49
49
+
src = pkgs.fetchFromGitHub {
50
50
+
owner = "ValveSoftware";
51
51
+
repo = "gamescope";
52
52
+
rev = "186f3a3ed0ce8eb5f3a956d3916a3331ea4e3ab2";
53
53
+
fetchSubmodules = true;
54
54
+
hash = "sha256-zAzIi3syJYtbKjydp19d1OxZvMjXb+eO+mXT/mJPEuA=";
55
55
+
};
56
56
+
});
32
57
capSysNice = true;
33
58
};
34
59