bruh
This commit is contained in:
@@ -55,8 +55,8 @@ in
|
||||
] ++ (
|
||||
if !isArm then
|
||||
[
|
||||
goverlay
|
||||
winboat
|
||||
# goverlay
|
||||
# winboat
|
||||
]
|
||||
else [ ]
|
||||
)
|
||||
|
||||
@@ -13,7 +13,8 @@ in
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Network option required using sysctl to let Ubisoft Connect work as of 7-12-2023
|
||||
boot.kernel.sysctl."net.ipv4.tcp_mtu_probing" = 1;
|
||||
# Use mkDefault so jovian-nixos steam module (which sets this to `true`) wins.
|
||||
boot.kernel.sysctl."net.ipv4.tcp_mtu_probing" = lib.mkDefault 1;
|
||||
|
||||
# Configure programs
|
||||
programs.steam = {
|
||||
@@ -48,7 +49,7 @@ in
|
||||
proton-cachyos-v2
|
||||
proton-cachyos-v1
|
||||
]);
|
||||
gamescopeSession = {
|
||||
gamescopeSession = lib.mkDefault {
|
||||
enable = true;
|
||||
args = [
|
||||
"-f"
|
||||
@@ -70,7 +71,10 @@ in
|
||||
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
# Set capSysNice = false so programs.gamescope does not create its own
|
||||
# security.wrappers.gamescope, which conflicts with the wrapper set by
|
||||
# jovian-nixos steam module (which already enables cap_sys_nice+pie).
|
||||
capSysNice = false;
|
||||
};
|
||||
|
||||
gamemode.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user