minor cleanup; use gamescope default args instead of wrapper
This commit is contained in:
@@ -13,6 +13,9 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
wifi.powersave = false;
|
wifi.powersave = false;
|
||||||
};
|
};
|
||||||
|
firewall = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
@@ -23,7 +26,6 @@
|
|||||||
# services.printing.enable = true;
|
# services.printing.enable = true;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.enable = true;
|
|
||||||
# 443 Helldivers crashes internet otherwise
|
# 443 Helldivers crashes internet otherwise
|
||||||
# networking.firewall.allowedTCPPorts = [ 443 ];
|
# networking.firewall.allowedTCPPorts = [ 443 ];
|
||||||
# networking.firewall.allowedUDPPorts = [ 443 ];
|
# networking.firewall.allowedUDPPorts = [ 443 ];
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs; [
|
||||||
[
|
|
||||||
# utils
|
# utils
|
||||||
uutils-coreutils-noprefix
|
uutils-coreutils-noprefix
|
||||||
vim
|
vim
|
||||||
|
|||||||
@@ -8,14 +8,13 @@
|
|||||||
programs.gamescope = {
|
programs.gamescope = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# capSysNice = true;
|
# capSysNice = true;
|
||||||
# args = [
|
args = [
|
||||||
# "-H 1080"
|
"-H 1080"
|
||||||
# ];
|
];
|
||||||
};
|
};
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
|
||||||
gamescopeSession.enable = true;
|
gamescopeSession.enable = true;
|
||||||
protontricks.enable = true;
|
protontricks.enable = true;
|
||||||
extraCompatPackages = [ pkgs.proton-ge-bin ];
|
extraCompatPackages = [ pkgs.proton-ge-bin ];
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
dumpcap.enable = true;
|
dumpcap.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.gpu-screen-recorder.enable = true; # For promptless recording on both CLI and GUI
|
# programs.gpu-screen-recorder.enable = true; # For promptless recording on both CLI and GUI
|
||||||
|
|
||||||
# programs.obs-studio = {
|
# programs.obs-studio = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
|
|||||||
@@ -40,13 +40,6 @@ in
|
|||||||
# Cheat engine
|
# Cheat engine
|
||||||
scanmem
|
scanmem
|
||||||
|
|
||||||
# gamescope wrapper
|
|
||||||
(pkgs.writeShellApplication {
|
|
||||||
name = "gscope";
|
|
||||||
runtimeInputs = [ pkgs.gamescope ];
|
|
||||||
text = "gamescope -H 1080 -- \"$@\"";
|
|
||||||
})
|
|
||||||
|
|
||||||
# proton with ja_JP
|
# proton with ja_JP
|
||||||
(pkgs.writeShellApplication {
|
(pkgs.writeShellApplication {
|
||||||
name = "umu-ja";
|
name = "umu-ja";
|
||||||
|
|||||||
Reference in New Issue
Block a user