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 + } + } +}