Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

machine/lengo: New Machine #156

Draft
wants to merge 18 commits into
base: central
Choose a base branch
from
Draft

Conversation

Kreyren
Copy link
Member

@Kreyren Kreyren commented Jan 6, 2025

Affected by: Vishram1123/gjs-osk#85 -> Unable to declaratively deploy the GJSOSK extension for on-screen keyboard.

TODO

  • Figure out if we can put NiXium on it
  • Way to input decrypting password at bootup (unl0kr)
  • Figure out how to make jovian to work
  • Try to find better UI than the steamUI -> GNOME+Kodi!
  • Include proton-ge in steam
  • Make AppImages work in a single click
  • Adapt distributed builds
  • [-] USBGuard - Decided against using it on this device as kira has yet to learn how to use it painlessly
  • Perform Power Management
  • Include fstrim to extend the lifespan of the SSD
  • Make sure the sensors work (iio required)
  • Make handheld daemon to work
  • Implement impermanence
  • Add adb tools
  • Make sure that the printing works
  • Rotate the screen correctly
  • Make sure that the audio works without issues
  • Include binfmt to be able to qemu-compile other platforms
  • Configure kreyren's profile
  • Adjust button behavior
  • Implement suspend-then-hibernate
  • [-] Package TDP Adjuster for HHD - Decided against using HHD
  • Make sure that the controllers are working in kodi
  • Vendor re-management #151 - Testing Use prior to deploy to the rest of infra
  • Declarative Tor Service for SSH
  • Disable the light sensor by default as the RGB messes up with it
  • [-] Add Waydroid and make sure it works - Won't Start, appears kernel related
  • [?] Make sure that steam's app directory is persistent - Pending Secrets from Kira
  • [?] Provide login secret for steam - Pending Secrets from Kira
  • Integrate Steam Library Extension into kodi -- To Be Added..
  • [?] Authorize Steam Library Extension - Pending Secrets from Kira
  • [?] Set correct resolution for kodi -- Seems like driver bug that sets wrong resolution if GNOME scaling is used
  • Enable touch mode for kodi
  • Add GNOME shortcut for Steam Big Picture Mode
  • [-] Adjust TLP for greater power management -- Too Complex to test, left up to the user
  • Implement Secure Boot
  • Lock up the BIOS
  • Add solution to control the fan (not connected to the GPU) -- Installed CoolerControl, but it's lacking kernel drivers on stable kernel atm
  • Configure kira's profile
  • OSK-GJS - Fix Read-Only Filesystem deployment Error
  • Check for CPU Vulnerabilities
  • Add OpenRGB to try to control the RGB -- Won't control anything
  • Add Sunshine

Finishing

  • Refactor everything so that it's organized instead of the current mess
  • Figure out a GPS locator and built-in 4G Internet

@Kreyren Kreyren self-assigned this Jan 6, 2025
@Kreyren
Copy link
Member Author

Kreyren commented Jan 8, 2025

@appsforartists: Hey, i took your work on legion go and added on top of it:

  1. AMDVLK drivers with GSK_RENDERER = "ngl" to mitigate https://gitlab.gnome.org/GNOME/gtk/-/issues/6890 as some games might prefer them for more optimal resource use
  2. Service that adds ~/.steam/steam/.cef-enable-remote-debugging to manage Decky Loader: had to manually add ~/.steam/steam/.cef-enable-remote-debugging to get UI to load. Jovian-Experiments/Jovian-NixOS#460
  3. Impermanence implementation (not fully implemented to get steam to persist login data yet)
  4. observation: GNOME with OSK-GJK keyboard (outdated in nixpkgs, but can be installed from gnome) seems to work better than gnome-mobile in this form-factor right now.

It's very WIP rn and i will rewrite a lot of things in there before i merge it to NiXium, but though that it might help you. I am currently trying to get unl0kr to work to be able to decrypt LUKS during initrd and TDP implementation.

Also i will probably move from jovian on kodi frontend as that seems more practical and reliable than steamUI.

image

and has a lot of handheld-friendly skins:
image

@appsforartists
Copy link

appsforartists commented Jan 9, 2025

Thanks for the ping. I'll try to remember to look at it when I'm on a computer.

Honestly, NixOS has been a placeholder for SteamOS for me. When the Steam image ships, I'm probably going to switch to it. I'd rather play games than tinker with Nix.

@Kreyren Kreyren changed the title devices/lengo: New Machine machine/lengo: New Machine Jan 12, 2025
@Kreyren
Copy link
Member Author

Kreyren commented Jan 20, 2025

Relevant: Arcanyx-org/nixpkgs-stable#1

@appsforartists
Copy link

appsforartists commented Jan 26, 2025

You inspired me to try Plymouth, but I don't think it's working yet:

https://github.com/appsforartists/device-config/blob/master/hosts/go/configuration.nix#L27-L33
appsforartists/nixpkgs@d7a1422

PXL_20250126_063740186

Not sure if that's a problem with the steamos Plymouth package or with the my boot.plymouth expression. It was already past bedtime when I tried to package this, so I'm not going to investigate it now.

@appsforartists
Copy link

Derivation looks correct:

$ cat /nix/store/41cb44kvfqxg61piagypikrsc1pbd8db-plymouth-steamos-theme-0.17/share/plymouth/themes/steamos/steamos.plymouth 
[Plymouth Theme]
Name=SteamOS Logo
Description=A theme that features the SteamOS logo.
ModuleName=script

[script]
ImageDir=/nix/store/41cb44kvfqxg61piagypikrsc1pbd8db-plymouth-steamos-theme-0.17/share/plymouth/themes/steamos
ScriptFile=/nix/store/41cb44kvfqxg61piagypikrsc1pbd8db-plymouth-steamos-theme-0.17/share/plymouth/themes/steamos/steam.script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants