add(games): added fallout4 mod suppport

NOTE: this is a very specific application. Find a way to obscure for
common user.
This commit is contained in:
kenji
2026-06-23 19:49:09 -05:00
parent ae1f8ecc0e
commit f25e3326e5
4 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{myConfig, ...}: { {myConfig, ...}: {
xdg.desktopEntries.mo2-nix-fo4 = { xdg.desktopEntries.mo2-nix-fo4 = {
name = "Mod Organizer 2 NXM Handler"; name = "Mod Organizer 2 Fallout";
exec = "protontricks-launch --appid 377160 \"/home/${myConfig.nixos.username}/Games/mod-organizer-2-fallout4/modorganizer2/ModOrganizer.exe\" %u"; exec = "protontricks-launch --appid 377160 \"/home/${myConfig.nixos.username}/Games/mod-organizer-2-fallout4/modorganizer2/ModOrganizer.exe\" %u";
terminal = false; terminal = false;
categories = ["Game"]; categories = ["Game"];
+7 -1
View File
@@ -79,9 +79,14 @@ in {
programs.yazi = { programs.yazi = {
enable = true; enable = true;
initLua = ''
require("session"):setup {
sync_yanked = true,
}
'';
enableFishIntegration = true; enableFishIntegration = true;
settings = { settings = {
manager = { mgr = {
show_hidden = false; show_hidden = false;
sort_by = "mtime"; sort_by = "mtime";
sort_reverse = true; sort_reverse = true;
@@ -130,6 +135,7 @@ in {
pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-termfilechooser pkgs.xdg-desktop-portal-termfilechooser
pkgs.p7zip
]; ];
# xdg-desktop-portal-termfilechooser configuration # xdg-desktop-portal-termfilechooser configuration
+2
View File
@@ -13,6 +13,8 @@
../../apps/ttyper ../../apps/ttyper
../../apps/libreoffice ../../apps/libreoffice
../../apps/antigravity ../../apps/antigravity
# GAMESZ
../../apps/mo2
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
# TODO: migrate these to `apps` folder. # TODO: migrate these to `apps` folder.
+2
View File
@@ -27,6 +27,8 @@
# Games that should have `stayfocused` applied (to avoid multi-monitor focus issues) # Games that should have `stayfocused` applied (to avoid multi-monitor focus issues)
stayFocusedGames = [ stayFocusedGames = [
"Fallout4"
"steam_app_377160"
# "Deadlock" # "Deadlock"
# "project8" # "project8"
# "citadel" # "citadel"