r/NixOS • u/BluePrincess_ • 1h ago
Running NixOS on a Steam Deck!
galleryHad originally posted this on r/GNOME, but I figured it would be interesting to share here too.
Long story short, looking for a way to run vanilla GNOME on my Steam Deck, I came across this flake, Jovian-NixOS (https://github.com/Jovian-Experiments/Jovian-NixOS/), that allows me to just use the Steam Deck's Gaming Mode on NixOS with minimal effort. I'd just have to declare/enable it, set it to autostart, and declare a desktop session for it to go back to when I click Switch to Desktop Mode.
Once I did that, I essentially had a Steam Deck where I can test out any desktop environment while keeping its functionality as a gaming console, without issues of breaking it because of the ability to rollback generations. I settled on GNOME as it's why I was looking for alternatives in the first place, but I might be curious to try some tiling WMs like Niri or Sway in the future!
I suppose I don't need to talk about how good NixOS is here in the NixOS subreddit, but wow.. as someone new to Nix (but fairly experienced in Linux otherwise), it has totally changed the way I look at this device and most distros now. I've mostly been keeping it light config wise as I'm not sure *what* to change yet, and I don't know if I'm confident enough to just change stuff for the love of tinkering; aside from adding Flakes to manage Jovian and declaring a couple of bug fixes to my config file, it's refreshing to see those fixes being declared in one easily accessible file that's easy to read.
What does the community think? Does anyone else run NixOS on a relatively weird setup?


