Urgent.News

What's breaking now, across thousands of outlets.

Tech

Nix on the Steam Frame

The Steam Frame is a device that runs a similar OS setup to the Steam Deck, allowing for easy installation of NixOS. The official installer's Steam Deck mode works without issue on the frame and handles SteamOS's immutable root by keeping all of /nix at /home/nix and bind mounting it to /nix on boot. However, SteamOS updates replace the root filesystem, so any edits made to /etc/nix/nix.conf will need to be redone after an update.

NixOS is powerful for managing apps and settings declaratively, but installing a full NixOS on the frame may be too complex. Instead, using Home Manager to manage dotfiles is a good balance. The frame's SteamOS mode requires some specific configuration for Home Manager to work properly. This includes modifying the nix.conf file and creating a flake setup with the necessary inputs for other modules.

The setup can be done using a flake with inputs for additional modules like steamos-etc and frametop. After building and running activate, Home Manager can be used to update the config. However, there are certain issues to be aware of, such as the nested plasma session and gamescope session that can interfere with Home Manager.

To resolve these issues, one should link .desktop files from their profile into ~/.local/share/applications and adjust the PATH for plasma desktop. Additionally, installing GPU drivers is necessary for nix built programs, which can be done using steamos-etc, a Home Manager module that ensures important /etc files survive SteamOS updates. This module helps manage files that need to survive updates and provides a solution for GPU drivers.

Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at johns.codes →

More in Tech

Ten Great DevOps Job Opportunities

DevOps.com is now providing a weekly DevOps jobs report through which opportunities for DevOps professionals will be highlighted as part of an effort to better serve our audience.

More from Monday 5 October →