diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 51443d2..0c7c41e 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -294,19 +294,18 @@ in { # Disable animations for ueberzugpp "noanim, class:^(ueberzugpp.*)$" - # Allow tearing for sifu - "immediate, class:^(steam_app_2138710)$" - "immediate, class:^(steam_app_1145360)$" - "immediate, class:^(Graveyard Keeper.x86_64)$" - "immediate, class:^(gamescope)$" - "immediate, class:^(steam_app_1087760)$" - # Make workspace 6 a floating layout "float, workspace:6" # Make keepassxc floating "float, class:^(org.keepassxc.KeePassXC)$" + # Setup settings for games + "fullscreen,class:^steam_app_\d+$" + "monitor 1,class:^steam_app_\d+$" + "workspace 6,class:^steam_app_\d+$" + "content game, class:^steam_app_\d+$" + # Move to workspace 1 "workspace 1, class:^(org.qutebrowser.qutebrowser)$" diff --git a/modules/linux/home-manager/mangohud.nix b/modules/linux/home-manager/mangohud.nix index ceca00c..d01b59b 100644 --- a/modules/linux/home-manager/mangohud.nix +++ b/modules/linux/home-manager/mangohud.nix @@ -26,6 +26,7 @@ cpu_temp = true; cpu_text = "CPU"; cpu_mhz = true; + cpu_power = true; cpu_load_change = true; vram = true; diff --git a/modules/linux/nixos/gaming.nix b/modules/linux/nixos/gaming.nix index 7a065bb..ba1ff86 100644 --- a/modules/linux/nixos/gaming.nix +++ b/modules/linux/nixos/gaming.nix @@ -12,6 +12,9 @@ # Install steam programs.steam = { enable = true; + extraCompatPackages = [ + pkgs.proton-ge-custom + ]; }; # Enable gamescope programs.gamescope = {