diff --git a/modules/apps/programs.nix b/modules/apps/programs.nix index b9e7174..b413101 100644 --- a/modules/apps/programs.nix +++ b/modules/apps/programs.nix @@ -22,6 +22,7 @@ in { nautilus libreoffice-qt6-fresh inkscape + blender # freecad -- broken dependency ] ++ [(mkXwlWrapper { lib = lib; pkgs = pkgs; app = "${pkgs.prusa-slicer}/bin/prusa-slicer"; name = "Prusa"; })]; diff --git a/modules/games/default.nix b/modules/games/default.nix index d37fcb4..66f44b7 100644 --- a/modules/games/default.nix +++ b/modules/games/default.nix @@ -6,7 +6,7 @@ name = "holo-script"; runtimeInputs = [ pkgs.steam pkgs.gamescope ]; text = '' - gamescope -f -r 60 -h 720 -F fsr -e -- steam + gamescope -f -r 60 -h 720 -F fsr -e --mangoapp -- steam ''; }; holo = pkgs.makeDesktopItem { @@ -34,6 +34,11 @@ in mkIf conf.games.enable (mkMerge [ programs.gamescope.enable = true; programs.gamemode.enable = true; + environment.sessionVariables = { + MANGOHUD_CONFIGFILE = "$HOME/.config/MangoHud/MangoHud.conf"; + MANGOHUD_CONFIG = "read_cfg"; + }; + home-manager.users.${conf.username} = { home.packages = [ pkgs.prismlauncher @@ -42,6 +47,16 @@ in mkIf conf.games.enable (mkMerge [ holo steam-wrapped ]; + + programs.mangohud = { + enable = true; + settings = { + gamemode = true; + refresh_rate = true; + fsr = true; + resolution = true; + }; + }; }; } ])