diff --git a/home-manager/modules/wms/hyprland.nix b/home-manager/modules/wms/hyprland.nix index cddbedf..a558f96 100644 --- a/home-manager/modules/wms/hyprland.nix +++ b/home-manager/modules/wms/hyprland.nix @@ -115,6 +115,7 @@ "float, ^(feh)$" "float, ^(mpv)$" "float, ^(nmtui)$" + "float, title:^(Список друзей)" ]; exec-once = [ diff --git a/nixos/hosts/Rias/configuration.nix b/nixos/hosts/Rias/configuration.nix index f5c555f..2d971b6 100644 --- a/nixos/hosts/Rias/configuration.nix +++ b/nixos/hosts/Rias/configuration.nix @@ -3,6 +3,7 @@ ./hardware-configuration.nix ../../packages.nix ../../modules/bundle.nix + ../../modules/gamemode.nix ]; networking.hostName = "Rias"; diff --git a/nixos/modules/gamemode.nix b/nixos/modules/gamemode.nix new file mode 100644 index 0000000..50b3c77 --- /dev/null +++ b/nixos/modules/gamemode.nix @@ -0,0 +1,16 @@ +{pkgs, ...}: { + programs.steam.enable = true; + programs.steam.gamescopeSession.enable = true; + programs.gamemode.enable = true; + + environment.systemPackages = with pkgs; [ + mangohud + protonup + bottles + ]; + + environment.sessionVariables = { + STEAM_EXTRA_COMPAT_TOOLS_PATHS = + "\${HOME}/.steam/root/compatibilitytools.d"; + }; +}