blob: 92071d52d9f102c7196ee604360ca9eff274300f (
plain) (
blame)
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
|
{ pkgs, lib, ... }: {
environment.systemPackages = with pkgs; [
alsa-plugins radeontop mesa-demos vulkan-tools clinfo gpu-viewer lutris wine gns3-server gns3-gui docker tigervnc ubridge vpcs
unigine-heaven unigine-superposition
prismlauncher gnuradio protonup-ng
hytale.hytale-launcher
];
services.xserver.xautolock.enable = lib.mkForce false;
security.wrappers.ubridge = {
source = "${pkgs.ubridge}/bin/ubridge";
capabilities = "cap_net_admin,cap_net_raw=ep";
owner = "root";
group = "ubridge";
permissions = "u+rx,g+rx,o+rx";
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
# https://github.com/NixOS/nixpkgs/issues/6860
environment.sessionVariables = {
ALSA_PLUGIN_DIR = pkgs.alsa-plugins.outPath + "/lib/alsa-lib";
};
}
|