## Image size in MB. Needs to be able to hold all software.
 # imagesize=3072
-imagesize=2048
+imagesize=4096
 
 ## Additional packages
 # packages:=chromium-browser,ssh,lsb-release
 release=stretch
 
 ## Comma separated list of config modules from modules/ directory
-modules=approx,autoresize,display_ws5inch # nodm,xfce
+modules=approx,autoresize #,display_ws5inch # nodm,xfce
 # approxhost := localhost:9999
 
 ## Hostname for the generated machine
                        'if which emulationstation; then' '  emulationstation' \
                        'else' '  sudo /opt/RetroPie-Setup/retropie_setup.sh' 'fi' \
                >"$@"
+
+define RPICONFIG :=
+dtparam=audio=on
+gpu_mem_256=128
+gpu_mem_512=256
+gpu_mem_1024=256
+overscan_scale=1
+endef