This would solve a major issue with SteamOS. The SteamOS itself is immutable/read only as you know. This means, one cannot install or make changes to the core system (it is possible, but that is temporarily until update will revert those changes back). That is why we have the Flatpak support. But many software are not available there (especially CLI tools, if you use them).

This is where the Nix package system comes into play. In short, it allows for installation of programs without touching the immutable part of SteamOS in a controlled and safely manner. These would persist even on SteamOS system updates. For a better explanation, have a look here: https://nixos.org/guides/how-nix-works.html

Valve confirmed: https://github.com/NixOS/nix/issues/7173#issuecomment-1603858003 that Nix package support will be integrated into SteamOS! That’s huge. In example I have tools which I cannot distribute easily for Steam Deck users, because Flatpak does not support CLI apps. Nix would solve this issue!

  • Sofinzki@beehaw.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    This is probably not something I will make use of at all in the near future but I still absolutely love that they are doing this! Valve is really carving out a path forward for linux as a whole and eventually normal folks - not just enthusiasts - will be able to drop Windows completely.

  • Kaldo@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    What does ‘making changes to its core system’ mean? I though people were able to use steam deck as a proper pc already, installing new apps on it and stuff like that?

    • thingsiplay@beehaw.orgOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      SteamOS core system is locked as read-only. That is what immutable means. In example you cannot install applications using the core system management named “pacman” (short for package manager). There is a toggle in SteamOS to disable this read-only functionality, but with next system update all changes are reverted.

      But how do you install applications on SteamOS? You certainly can do, right? Yes! That’s the store it offers, which uses a different concept called Flatpak. These are programs you can install without touching the core system. And therefore these are persistent, even on system updates. And they are similar to Android programs in a sandbox.

      I assume you are not familiar with how Linux systems operate. Imagine this like Android, where you are only allowed to install from a store, which cannot make changes to the Android core, but only install applications on a secured way. But that is limited. Or imagine a game console where you can only install games and programs which the store has. And it lacks Command Line Interface programs in example or many other tools not found in the official store. That’s how SteamOS works at the moment.

      And here comes the Nix packagement into play. This is a different system again. You can think of it like Flatpak, meaning any changes to it would be sandboxed and do not touch the core system. This allows for Command Line tools and some other stuff, as discussed before. Nix packages will be part of the next big update of SteamOS.

    • fazo96A
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      That’s true, but some system level changes by default can’t be done because most system folders are read only. It’s trivial to turn this off, however a steam os update would overwrite any changes made.

      For installing new apps this is not an issue because Steam os is designed with flatpak support, so if an app is shipped as flatpak (or appimage which is just a single file you can execute) then it can be used without making the system folders writeable

      However in this case, it’s about the nix package manager which needs access to specific system folders to not just install packages (which can be apps or system stuff) but also to apply changes to the system configuration

      It’s really nice that a valve developer is taking the extra steps to make sure nix can be used out of the box. I don’t really understand why they are doing this, I think it’s just because they think it’s cool and some users are going to appreciate it.

  • Biberkopf@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    What is the current state on SteamOS as a desktop replacement? My understanding is that the currently downloadable version is only the SteamDeck version and not suitable as a Windows replacement for the desktop.

    • IronDonkey@reddthat.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I don’t use it as a desktop replacement (I still have a windows desktop). But I do but default have my deck docked and hooked up to a TV, in desktop mode.

      I’ve installed various flatpack programs, to include discord, chrome, and a couple jetbrains ides for various languages. They work great. I’ve done a couple non steam games (diablo), with mild annoyance but success in the end.

      I have not used any office programs on it (as much as it’s cool to like Linux, I just think Microsoft wins by a lot there, and have no desire to get them working on Linux).

      The deck itself has some power limitations, but I have no reason to think that they would translate to steam os on a more powerful machine.

      So basically, it probably depends on what you want. It’s pretty reasonable. Definitely good enough for my secondary computer that blocks ads for videos on my tv. But personally, I still want a windows computer, because windows is the default assumption for most software I use.

    • marvus@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I don’t know what you mean by “steamdeck version”, but afaik the SteamOS you can download from steam is version 2 which is really old by now while the Steamdeck runs version 3 and is still not available for download outside of it. Mind you it isn’t just a major version change but they even changed the linux OS it’s based on, moving from Debian to Arch.
      As for the replacement for desktop, the Steamdeck (and with it SteamOS 3) launched with full desktop mode available and while the core system is immutable as discussed, it’s still a fully functional desktop OS and as such it depends on your personal needs how much of a windows replacement it can be, just like any other linux OS. Also you might need a dock or other USB hub to attach a keyboard and mouse if you need them, but there is onscreen keyboard and touchpad on the steamdeck available.