blob: d3e889dc45c2ef5122009629f0526a63d69b5066 (
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
|
{pkgs, ...}: {
# allow unfree
nixpkgs.config = {
allowUnfree = true;
chromium.enableWideVine = true;
};
environment.systemPackages = with pkgs; [
# opera
spotify
microsoft-edge
vscode
# fonts
corefonts
# symbola
steamcmd
steam-run
protonup-qt
];
# fucking vscode requires this for github copilot
services.gnome.gnome-keyring.enable = true;
programs.steam = {
enable = true;
extraCompatPackages = [pkgs.proton-ge-bin];
protontricks.enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
systemd.extraConfig = "DefaultlimitNOFILE=524288";
}
|