More steaminess
This commit is contained in:
parent
c5a473c557
commit
41b16a7173
3 changed files with 38 additions and 8 deletions
|
@ -66,5 +66,12 @@
|
|||
programs.chromium = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.btop = {
|
||||
enable = true;
|
||||
package = pkgs.btop.override {
|
||||
rocmSupport = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,23 +1,45 @@
|
|||
{pkgs, ...}: {
|
||||
programs.steam.enable = true;
|
||||
programs.steam.gamescopeSession.enable = true;
|
||||
# programs.steam.package = inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.steam;
|
||||
programs.steam.remotePlay.openFirewall = true;
|
||||
programs.gamescope.enable = true;
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
extest.enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
gamescope.enable = true;
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
gamescope
|
||||
];
|
||||
|
||||
extraCompatPackages = with pkgs; [
|
||||
proton-ge-bin
|
||||
];
|
||||
|
||||
localNetworkGameTransfers.openFirewall = true;
|
||||
remotePlay.openFirewall = true;
|
||||
};
|
||||
|
||||
hardware.steam-hardware.enable = true;
|
||||
services.udev.packages = with pkgs; [steam];
|
||||
|
||||
# remote play ports
|
||||
environment.systemPackages = with pkgs; [
|
||||
dualsensectl
|
||||
];
|
||||
|
||||
# TODO: remote play ports - should be unnecessary due to
|
||||
# programs.steam.remotePlay.openFirewall = true;
|
||||
networking.firewall.allowedUDPPortRanges = [
|
||||
# UDP 27031, 27036
|
||||
{
|
||||
from = 27031;
|
||||
to = 27036;
|
||||
}
|
||||
];
|
||||
networking.firewall.allowedTCPPortRanges = [
|
||||
# TCP 27036, 27037
|
||||
{
|
||||
from = 27036;
|
||||
to = 27037;
|
||||
}
|
||||
];
|
||||
# UDP 27031, 27036
|
||||
# TCP 27036, 27037
|
||||
}
|
||||
|
|
|
@ -144,6 +144,7 @@
|
|||
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
package = pkgs.bluez;
|
||||
# powerOnBoot = true; # this is the default
|
||||
};
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
|
@ -161,5 +162,5 @@
|
|||
};
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
system.stateVersion = "23.11";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue