# SteamOS NixOS Edition ❄️

**URL:** https://discourse.nixos.org/t/steamos-nixos-edition/62635
**Category:** Announcements
**Created:** [April 4, 2025, 5:54am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635 "2025-04-04T05:54:11Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![leonewton253](https://discourse.nixos.org/user_avatar/discourse.nixos.org/leonewton253/32/31803_2.png) [@leonewton253](https://discourse.nixos.org/u/leonewton253)
#### Post date: [April 4, 2025, 5:54am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/1 "2025-04-04T05:54:11Z")

</div>

I was able to successfully make a clean boot experience like on the Steam Deck for a desktop PC. This is my simplified version. Im waiting on my new AMD pc tommorow to test it on, but surprisingly it worked well on a 6700K chip with just the integrated graphics.

I’m looking to lower the boot time as much as possible.

Im working on a script to import games from other stores as shortcuts.

[[GitHub - leonewton253/SteamOS-NixOS-Edition: Nix Flake for creating a SteamOS like experience on NixOS.](https://github.com/leonewton253/SteamOS-NixOS-Edition)

---

<div class="post-metadata">

### Author: ![hustlerone](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/h/838e76/32.png) [@hustlerone](https://discourse.nixos.org/u/hustlerone)
#### Post date: [April 4, 2025, 12:58pm UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/2 "2025-04-04T12:58:51Z")

</div>

Have you taken a look at Jovian Nixos?

> **[GitHub - Jovian-Experiments/Jovian-NixOS: Discussions:...](https://github.com/Jovian-Experiments/Jovian-NixOS)**
>
> Discussions: https://matrix.to/#/#Jovian-Experiments:matrix.org

---

<div class="post-metadata">

### Author: ![leonewton253](https://discourse.nixos.org/user_avatar/discourse.nixos.org/leonewton253/32/31803_2.png) [@leonewton253](https://discourse.nixos.org/u/leonewton253)
#### Post date: [April 4, 2025, 5:08pm UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/3 "2025-04-04T17:08:25Z")

</div>

Looks too complicated. My setup is just a single file and uses stock packages. This repo is geared towards using nix on a steam deck.

---

<div class="post-metadata">

### Author: ![samueldr](https://discourse.nixos.org/user_avatar/discourse.nixos.org/samueldr/32/6_2.png) [@samueldr](https://discourse.nixos.org/u/samueldr)
#### Post date: [April 4, 2025, 6:20pm UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/4 "2025-04-04T18:20:15Z")

</div>

> [@leonewton253](#):
>
> This repo is geared towards using nix on a steam deck.

I suppose you mean using NixOS on a steam deck, right?

And if so, yes, but not exclusively.

This is currently used successfully on different systems.

What Jovian NixOS does is _actually_ integrate the Steam OS experience with NixOS. Not just superficially so by… whatever the heck this is supposed to do:

```bash
{
  programs.bash.loginShellInit = "steam-gamescope > /dev/null 2>&1";
}

```

This will not support _switch to desktop_, and is absolutely not a proper way to handle anything remotely close to ressembling a graphical session. This will be missing a lot of what session handling actually has to handle.

This will also be missing a few of the services expected by the Steam OS experience from steam, so things like the power button working as expected will not be working as expected.

You’re stating “Looks too complicated”, but then, you have stuff that is uh… Stuff that is looking like it is simpler, but in the end are having complicated consequences when considering how a Linux distribution operates.

Some observations follow, just from looking quickly.

* * *

This makes it impossible to just include the config, you end-up having to vendor it.

- [SteamOS-NixOS-Edition/configuration.nix at 728c8d57dfab5de61c0a7c9ef62f2b07a468d287 · leonewton253/SteamOS-NixOS-Edition · GitHub](https://github.com/leonewton253/SteamOS-NixOS-Edition/blob/728c8d57dfab5de61c0a7c9ef62f2b07a468d287/configuration.nix#L8-L11)

Everyone’s on the US west coast, right?

- [SteamOS-NixOS-Edition/configuration.nix at 728c8d57dfab5de61c0a7c9ef62f2b07a468d287 · leonewton253/SteamOS-NixOS-Edition · GitHub](https://github.com/leonewton253/SteamOS-NixOS-Edition/blob/728c8d57dfab5de61c0a7c9ef62f2b07a468d287/configuration.nix#L57-L58)

Why the long string with `as\s*steamos`?

- [SteamOS-NixOS-Edition/configuration.nix at 728c8d57dfab5de61c0a7c9ef62f2b07a468d287 · leonewton253/SteamOS-NixOS-Edition · GitHub](https://github.com/leonewton253/SteamOS-NixOS-Edition/blob/728c8d57dfab5de61c0a7c9ef62f2b07a468d287/configuration.nix#L72)

BTRFS(?) expectations without making it mandatory, or even documenting it:

- [SteamOS-NixOS-Edition/configuration.nix at 728c8d57dfab5de61c0a7c9ef62f2b07a468d287 · leonewton253/SteamOS-NixOS-Edition · GitHub](https://github.com/leonewton253/SteamOS-NixOS-Edition/blob/728c8d57dfab5de61c0a7c9ef62f2b07a468d287/configuration.nix#L63-L66)

_This_ looks too complicated. That’s a heavy-handed approach at “defaults”.

- [SteamOS-NixOS-Edition/configuration.nix at 728c8d57dfab5de61c0a7c9ef62f2b07a468d287 · leonewton253/SteamOS-NixOS-Edition · GitHub](https://github.com/leonewton253/SteamOS-NixOS-Edition/blob/728c8d57dfab5de61c0a7c9ef62f2b07a468d287/configuration.nix#L91-L97)

Also, somewhat scary defaults, considering autologin is setup:

- [SteamOS-NixOS-Edition/configuration.nix at 728c8d57dfab5de61c0a7c9ef62f2b07a468d287 · leonewton253/SteamOS-NixOS-Edition · GitHub](https://github.com/leonewton253/SteamOS-NixOS-Edition/blob/728c8d57dfab5de61c0a7c9ef62f2b07a468d287/configuration.nix#L68)

Other scary default 😱

- [SteamOS-NixOS-Edition/configuration.nix at 728c8d57dfab5de61c0a7c9ef62f2b07a468d287 · leonewton253/SteamOS-NixOS-Edition · GitHub](https://github.com/leonewton253/SteamOS-NixOS-Edition/blob/728c8d57dfab5de61c0a7c9ef62f2b07a468d287/configuration.nix#L106)

This shouldn’t be in a configuration you could import:

- [SteamOS-NixOS-Edition/configuration.nix at 728c8d57dfab5de61c0a7c9ef62f2b07a468d287 · leonewton253/SteamOS-NixOS-Edition · GitHub](https://github.com/leonewton253/SteamOS-NixOS-Edition/blob/728c8d57dfab5de61c0a7c9ef62f2b07a468d287/configuration.nix#L108-L114)

Vendoring-in some “Steam Shortcut Manager” like you did is somewhat questionable, though not necessarily a problem. It just seems odd that it also includes a `shortcut.vdf` in the repo, with some of your personal (test?) data. And having the ` __pycache__ ` folder being included, is odd too.

* * *

Comparatively, what Jovian NixOS does is try to follow the normal NixOS semantics, so that there are no surprises from including the configuration in your system configurations, even if you don’t intend to activate it.

Activating features is done via a tiered set of options, which allows either going for the trivial “everything”, or opting-in into more discrete features… or even opting-out, via the same tiered options.

While this visibly adds complexity, this ensures you’re not forced into every choices the authors are making.

Additionally, making the _switch to desktop_ option work as expected is considered a basic feature. It is, imo, a major feature of Steam OS, and shouldn’t be ignored.

And we’re doing it in a way that works better than on SteamOS: you can pick your desktop, and your username. After all, it is for _your_ computer, even if it behaves like a video game console.

It generally should slot into the configuration you’d be using on your other systems, with the main caveat that the display manager has to be configured differently. Otherwise everything else follows the semantics from NixOS.

* * *

As an additional note, there is no “integration” for updating non-steam content within Jovian NixOS. It’s because this is a _ **really hard** _ problem, as it involves diving into the internals of Steam, without any method to tell Steam to update its view of the files, and additionally, without having a proper “lifecycle” where we can include the data even without the user having been logged into steam at least once.

But if you want to imperatively edit your non-steam content, there’s also this that I made:

- [GitHub - samueldr/nostatoo: The Non-Steam App Toolkit.](https://github.com/samueldr/nostatoo)

---

<div class="post-metadata">

### Author: ![leonewton253](https://discourse.nixos.org/user_avatar/discourse.nixos.org/leonewton253/32/31803_2.png) [@leonewton253](https://discourse.nixos.org/u/leonewton253)
#### Post date: [April 5, 2025, 11:50pm UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/5 "2025-04-05T23:50:22Z")

</div>

> [@samueldr](#):
>
> ```auto
> {
> programs.bash.loginShellInit = "steam-gamescope > /dev/null 2>&1";
> }
> 
> ```

That line I recently changed. I now use the gamescope command with parameters. I needed to run gamescope at 1080P.

As a seasoned Linux user I do not want a desktop. I do everything over SSH. This is more for power users.

I also reverted the repo to using a flake with ChaotixNix’s Mesa and CatchyOS kernel, as these have boosted the FPS over 20% versus stock.

---

<div class="post-metadata">

### Author: ![leonewton253](https://discourse.nixos.org/user_avatar/discourse.nixos.org/leonewton253/32/31803_2.png) [@leonewton253](https://discourse.nixos.org/u/leonewton253)
#### Post date: [April 6, 2025, 12:12am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/6 "2025-04-06T00:12:30Z")

</div>

> [@samueldr](#):
>
> As an additional note, there is no “integration” for updating non-steam content within Jovian NixOS. It’s because this is a _ **really hard** _ problem

I’ve made some progess with this code allowing non DRM games to run.

> #!/usr/bin/env bash
> 
> PROTON=$(find $HOME/.steam/steam/steamapps/common/ -maxdepth 1 -name Proton\* | sort | sed -e ‘$!d’)
> 
> export STEAM\_GAME\_PATH=“/home/steamos/Games/Eiyuden/”  
> export STEAM\_COMPAT\_DATA\_PATH=“$STEAM\_GAME\_PATH” # Or point to where your pfx folder is  
> export STEAM\_COMPAT\_CLIENT\_INSTALL\_PATH=“$STEAM\_GAME\_PATH”  
> /home/steamos/.steam/steam/steamapps/common/Proton\ -\ Experimental/proton run /home/steamos/Games/Eiyuden/EiyudenChronicle.exe

I just need to make a CLI tool to scan a directory and let you choose the EXE for each game shortcut, then edit the VDF with the added games. I could even get it to find the steam IDs and pull in the game banners for the icons.

---

<div class="post-metadata">

### Author: ![leonewton253](https://discourse.nixos.org/user_avatar/discourse.nixos.org/leonewton253/32/31803_2.png) [@leonewton253](https://discourse.nixos.org/u/leonewton253)
#### Post date: [April 6, 2025, 12:14am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/7 "2025-04-06T00:14:11Z")

</div>

> [@samueldr](#):
>
> But if you want to imperatively edit your non-steam content, there’s also this that I made:
> 
> - [GitHub - samueldr/nostatoo: The Non-Steam App Toolkit.](https://github.com/samueldr/nostatoo)

This looks really cool.

---

<div class="post-metadata">

### Author: ![leonewton253](https://discourse.nixos.org/user_avatar/discourse.nixos.org/leonewton253/32/31803_2.png) [@leonewton253](https://discourse.nixos.org/u/leonewton253)
#### Post date: [April 6, 2025, 12:23am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/8 "2025-04-06T00:23:48Z")

</div>

> [@samueldr](#):
>
> This makes it impossible to just include the config, you end-up having to vendor it.

Thank you for the feedback. How would I fix this?

---

<div class="post-metadata">

### Author: ![leonewton253](https://discourse.nixos.org/user_avatar/discourse.nixos.org/leonewton253/32/31803_2.png) [@leonewton253](https://discourse.nixos.org/u/leonewton253)
#### Post date: [April 6, 2025, 12:58am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/9 "2025-04-06T00:58:06Z")

</div>

Updated Repo name. Going to make a github pages site and iso release.

> **[GitHub - leonewton253/SteamNix: Nix Flake for creating a SteamOS like experience...](https://github.com/leonewton253/SteamNix)**
>
> Nix Flake for creating a SteamOS like experience on NixOS.

---

<div class="post-metadata">

### Author: ![sigboe](https://discourse.nixos.org/user_avatar/discourse.nixos.org/sigboe/32/31868_2.png) [@sigboe](https://discourse.nixos.org/u/sigboe)
#### Post date: [April 9, 2025, 8:33am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/10 "2025-04-09T08:33:02Z")

</div>

Hello @leonewton253

Please continue working on this! Jovian is great, but it only works with nixpkgs-unstable, so having an alternative would be amazing! I am happy to see you already got a lot of feedback!

---

<div class="post-metadata">

### Author: ![leonewton253](https://discourse.nixos.org/user_avatar/discourse.nixos.org/leonewton253/32/31803_2.png) [@leonewton253](https://discourse.nixos.org/u/leonewton253)
#### Post date: [April 10, 2025, 12:03am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/11 "2025-04-10T00:03:26Z")

</div>

@sigboe Thanks! I’m in the process of creating a autoinstaller Distro based on this. Even considering turning it into a OS for a SteamOS console.

I’m running it now with just $140 AMD 8500G with a 740M GPU and it can handle Diablo IV at medium 720p.

I just need to hide the “switch to desktop” item in the shutdown menu and get Mangohud to show up when using steam’s toggle.

The Distro would autoinstall to the largest drive, then apply some configuration files for EmulationStation and retroarch. The latest ProtonGE would download via protonup. A VDF file would be created that launches Emulation Station.

Also, getting the WiFi and bluetooth selection menu to work in steam. I’m going to look at Holoiso and chimeraOS to see if I can find code for that.

---

<div class="post-metadata">

### Author: ![f0rdprefect](https://discourse.nixos.org/user_avatar/discourse.nixos.org/f0rdprefect/32/17283_2.png) [@f0rdprefect](https://discourse.nixos.org/u/f0rdprefect)
#### Post date: [April 10, 2025, 4:59am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/12 "2025-04-10T04:59:17Z")

</div>

I would be eager to test this. Right now I have an Atari VCS, had Chimera and HoloIso on it in the past. At some point both system would selfdestruct. Now on Bazzite and I have an extrenal drive hooked up which boots into Batocera. Would be awesome to have a Steamexperience with an easy way to Emulation Station ROMS…

---

<div class="post-metadata">

### Author: ![leonewton253](https://discourse.nixos.org/user_avatar/discourse.nixos.org/leonewton253/32/31803_2.png) [@leonewton253](https://discourse.nixos.org/u/leonewton253)
#### Post date: [April 19, 2025, 6:53am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/13 "2025-04-19T06:53:17Z")

</div>

Just added an autoinstaller iso! Only use it on a PC with a drive you don’t mind getting formatted. It took out a USB drive I forgot to unplug but luckily testdisk recovered the partition.

[https://github.com/SteamNix/SteamNix/releases/download/beta/nixos-minimal-25.05.20250417.b024ced-x86\_64-linux.iso](https://github.com/SteamNix/SteamNix/releases/download/beta/nixos-minimal-25.05.20250417.b024ced-x86_64-linux.iso)

---

<div class="post-metadata">

### Author: ![leonewton253](https://discourse.nixos.org/user_avatar/discourse.nixos.org/leonewton253/32/31803_2.png) [@leonewton253](https://discourse.nixos.org/u/leonewton253)
#### Post date: [April 19, 2025, 10:16am UTC](https://discourse.nixos.org/t/steamos-nixos-edition/62635/14 "2025-04-19T10:16:20Z")

</div>

I recently tried basing it from stable but gamescope would crash. I’m using the latest now and things are smooth. I’ve added a auto install iso. It should automaticlly update and pull in new features from the github configuration.nix. I’ve added a cutsom.nix import for users that want to overide the git configuration.
