add settings file
This commit is contained in:
parent
33970a47dc
commit
2aa1156a25
3 changed files with 68 additions and 2 deletions
55
es_settings.cfg
Normal file
55
es_settings.cfg
Normal file
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0"?>
|
||||
<bool name="BackgroundIndexing" value="false" />
|
||||
<bool name="BackgroundJoystickInput" value="false" />
|
||||
<bool name="CollectionShowSystemInfo" value="true" />
|
||||
<bool name="DisableKidStartMenu" value="true" />
|
||||
<bool name="DoublePressRemovesFromFavs" value="false" />
|
||||
<bool name="DrawFramerate" value="false" />
|
||||
<bool name="EnableSounds" value="true" />
|
||||
<bool name="ForceDisableFilters" value="false" />
|
||||
<bool name="IgnoreLeadingArticles" value="false" />
|
||||
<bool name="LocalArt" value="false" />
|
||||
<bool name="MoveCarousel" value="true" />
|
||||
<bool name="ParseGamelistOnly" value="false" />
|
||||
<bool name="QuickSystemSelect" value="true" />
|
||||
<bool name="ScrapeRatings" value="true" />
|
||||
<bool name="ScreenSaverControls" value="true" />
|
||||
<bool name="ScreenSaverOmxPlayer" value="false" />
|
||||
<bool name="ScreenSaverVideoMute" value="false" />
|
||||
<bool name="ShowHelpPrompts" value="true" />
|
||||
<bool name="ShowHiddenFiles" value="false" />
|
||||
<bool name="SlideshowScreenSaverCustomMediaSource" value="false" />
|
||||
<bool name="SlideshowScreenSaverRecurse" value="false" />
|
||||
<bool name="SlideshowScreenSaverStretch" value="false" />
|
||||
<bool name="SortAllSystems" value="false" />
|
||||
<bool name="StretchVideoOnScreenSaver" value="false" />
|
||||
<bool name="SystemSleepTimeHintDisplayed" value="false" />
|
||||
<bool name="ThreadedLoading" value="false" />
|
||||
<bool name="UseCustomCollectionsSystem" value="false" />
|
||||
<bool name="UseFullscreenPaging" value="false" />
|
||||
<bool name="VideoAudio" value="true" />
|
||||
<bool name="VideoOmxPlayer" value="false" />
|
||||
<int name="MaxVRAM" value="100" />
|
||||
<int name="ScraperResizeHeight" value="0" />
|
||||
<int name="ScraperResizeWidth" value="400" />
|
||||
<int name="ScreenSaverSwapMediaTimeout" value="10000" />
|
||||
<int name="ScreenSaverSwapVideoTimeout" value="30000" />
|
||||
<int name="ScreenSaverTime" value="600000" />
|
||||
<int name="SystemSleepTime" value="0" />
|
||||
<string name="AudioCard" value="default" />
|
||||
<string name="AudioDevice" value="Master" />
|
||||
<string name="CollectionSystemsAuto" value="" />
|
||||
<string name="CollectionSystemsCustom" value="" />
|
||||
<string name="GamelistViewStyle" value="detailed" />
|
||||
<string name="LeadingArticles" value="a,an,the" />
|
||||
<string name="OMXAudioDev" value="both" />
|
||||
<string name="PowerSaverMode" value="disabled" />
|
||||
<string name="SaveGamelistsMode" value="always" />
|
||||
<string name="ScreenSaverBehavior" value="dim" />
|
||||
<string name="ScreenSaverGameInfo" value="never" />
|
||||
<string name="StartupSystem" value="" />
|
||||
<string name="ThemeSet" value="ComicBook" />
|
||||
<string name="TransitionStyle" value="slide" />
|
||||
<string name="UIMode" value="Kiosk" />
|
||||
<string name="UIMode_passkey" value="uuddlrlrba" />
|
||||
<string name="VlcScreenSaverResolution" value="original" />
|
11
games.nix
11
games.nix
|
@ -1,6 +1,10 @@
|
|||
{ config, pkgs, ...}:
|
||||
{ lib, config, pkgs, ...}:
|
||||
let
|
||||
inherit (config.retronix.retroarch) mapRetroarchConfig;
|
||||
mkFile = name: path: pkgs.runCommand name {} ''
|
||||
mkdir -p $out
|
||||
cp ${path} $out/${name}
|
||||
'';
|
||||
in
|
||||
{
|
||||
retronix = {
|
||||
|
@ -17,6 +21,9 @@ in
|
|||
];
|
||||
};
|
||||
};
|
||||
emulationstation.inputCfg = builtins.readFile ./es_input.cfg;
|
||||
emulationstation = {
|
||||
inputCfgFile = mkFile "es_input.cfg" ./es_input.cfg;
|
||||
settingsCfgFile = mkFile "es_settings.cfg" ./es_settings.cfg;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -115,6 +115,9 @@ in {
|
|||
inputCfgFile = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
};
|
||||
settingsCfgFile = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
};
|
||||
themesDir = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
};
|
||||
|
@ -160,6 +163,7 @@ in {
|
|||
paths = [
|
||||
cfg.systemCfgFile
|
||||
cfg.inputCfgFile
|
||||
cfg.settingsCfgFile
|
||||
] ++ cfg.extraConfigFiles;
|
||||
};
|
||||
cli = pkgs.writeScript "emulationstation" "${pkgs.emulationstationPatched}/bin/emulationstation --home ${cfg.homeDir} --gamelist-only";
|
||||
|
|
Loading…
Add table
Reference in a new issue