feat: nvidia logind seatd gamescope config update

Nvidia: added Dynamic Boost and fixed PRIME BusIDs
Gamescope: added capSysNice definition
Fcitx5: change names to resolve eval warning
Logind: Delayed processing of power key press (600ms)
This commit is contained in:
Zhongheng Liu 2024-10-02 17:36:18 +03:00
commit 4a99257e90
No known key found for this signature in database
6 changed files with 40 additions and 7 deletions

View file

@ -22,9 +22,14 @@
FLAKE = config.myConfigLocation;
GTK_IM_MODULE = lib.mkForce "";
};
programs.gamescope = {
enable = true;
capSysNice = true;
};
security.pam.services.hyprlock = {};
i18n.inputMethod = {
enabled = "fcitx5";
type = "fcitx5";
enable = true;
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
@ -65,9 +70,7 @@
true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall =
true; # Open ports in the firewall for Steam Local Network Game Transfers
gamescopeSession = {
enable = true;
};
extraCompatPackages = with pkgs; [proton-ge-bin];
};
programs.gamemode.enable = true;
boot = {