From 7dcdcc906cc4d95f1bd7e7d371214aadd86ab55c Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 15 Feb 2025 11:40:09 -0500 Subject: [PATCH] Switch to deploying the ship of harkinian config file. --- .../roles/shipwright/default.nix | 12 ++++++++++-- .../shipwright/files/shipofharkinian.json | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 nix/steam_deck/configuration/roles/shipwright/files/shipofharkinian.json diff --git a/nix/steam_deck/configuration/roles/shipwright/default.nix b/nix/steam_deck/configuration/roles/shipwright/default.nix index 587dfa8..ce1af5d 100644 --- a/nix/steam_deck/configuration/roles/shipwright/default.nix +++ b/nix/steam_deck/configuration/roles/shipwright/default.nix @@ -1,3 +1,4 @@ +# MANUAL: mkdir -p ~/.persist/.local/share/soh/Save { config, lib, @@ -27,16 +28,23 @@ (config.lib.nixGL.wrap shipwright) ]; - # TODO perhaps install ~/.local/share/soh/shipofharkinian.json + home.file.".local/share/soh/shipofharkinian.json" = { + source = ./files/shipofharkinian.json; + }; home.persistence."/home/deck/.persist" = { directories = [ { - directory = ".local/share/soh"; + directory = ".local/share/soh/Save"; method = "symlink"; } ]; }; + home.persistence."/home/deck/.state" = { + files = [ + ".local/share/soh/oot.otr" + ]; + }; }) ] ); diff --git a/nix/steam_deck/configuration/roles/shipwright/files/shipofharkinian.json b/nix/steam_deck/configuration/roles/shipwright/files/shipofharkinian.json new file mode 100644 index 0000000..0f440ef --- /dev/null +++ b/nix/steam_deck/configuration/roles/shipwright/files/shipofharkinian.json @@ -0,0 +1,19 @@ +{ + "CVars": { + "gInternalResolution": 2.0, + "gInterpolationFPS": 60, + "gMSAAValue": 2, + "gMatchRefreshRate": 0, + "gOnFileSelectNameEntry": 0, + "gOpenWindows": { + "modalWindowEnabled": 1 + }, + "gZFightingMode": 0 + }, + "ConfigVersion": 2, + "Window": { + "Fullscreen": { + "Enabled": true + } + } +}