UE5 w/ proton flake
  • Shell 67.1%
  • Nix 32.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-24 22:28:00 +01:00
scripts Drop native Linux engine, make the flake installable, add nanos-adk new 2026-11-24 22:19:46 +01:00
.gitignore Drop native Linux engine, make the flake installable, add nanos-adk new 2026-11-24 22:19:46 +01:00
flake.lock Drop native Linux engine, make the flake installable, add nanos-adk new 2026-11-24 22:19:46 +01:00
flake.nix Drop native Linux engine, make the flake installable, add nanos-adk new 2026-11-24 22:19:46 +01:00
README.md Make the README independent of the local setup 2026-11-24 22:28:00 +01:00

ue5-flake

Unreal Engine 5.7 (Windows build, under Proton) on NixOS, for making nanos world assets.

Install

nix profile install git+https://forge.superkooka.com/Superkooka/ue5-flake

Or as a flake input of your system configuration (NixOS has the same module under nixosModules.default):

# flake.nix
inputs.ue5-flake.url = "git+https://forge.superkooka.com/Superkooka/ue5-flake";

# home.nix
imports = [ inputs.ue5-flake.homeManagerModules.default ];
programs.ue5-proton.enable = true;
programs.ue5-proton.adkVersion = "0.0.3";   # optional: ADK release used by nanos-adk new

First run

ue-proton setup      # create the Proton prefix and install the Epic Games Launcher
ue-proton launcher   # log in, then install UE 5.7 from the Unreal Engine tab
ue-proton prereqs    # VC++ runtimes

nanos world assets

nanos-adk new ~/my-assets  # new project from the nanos world ADK
cd ~/my-assets
nanos-adk open             # open it in the editor

Headless (Python scripts, commandlets)

ue-proton editor-cmd ~/my-assets/NanosWorldADK.uproject \
  -run=pythonscript -script=$HOME/my-assets/import.py -unattended -nullrhi

Good to know

  • Any project opens with ue-proton editor /abs/path/to/X.uproject.
  • /tmp isn't shared with the editor: keep the files you pass to it elsewhere, for example in the project.
  • If rendering misbehaves, try UE_PROTON_RHI=vulkan (or dx11, dx12).
  • ue-proton uses Steam's Proton 11.0 if installed, GE-Proton otherwise; PROTONPATH overrides.
  • Another ADK archive: nanos-adk new <dir> --zip assets-development-kit-X.Y.Z.zip.