Is NixOS The Best Gaming Distro | Linux Gaming Setup

Sdílet
Vložit
  • čas přidán 11. 06. 2024
  • Discord server: / discord
    Donations: ko-fi.com/vimjoyer
    Code from the video: github.com/vimjoyer/nixos-gam...
  • Věda a technologie

Komentáře • 111

  • @stephenflee7989
    @stephenflee7989 Před měsícem +111

    Vimjoyer is the GOAT nix content creator

  • @americanbagel
    @americanbagel Před měsícem +40

    I game on NixOS all the time. Best distrito for me. Never break's unless I am actively editing my config, and then it's easy to revert. Stable, declarative greatness.

  • @andrewmartin1829
    @andrewmartin1829 Před měsícem +20

    This might just be the best-timed youtube video ever, I just sat down to set up gaming on my nixos install and this pops up

    • @seinodernichtsein8710
      @seinodernichtsein8710 Před měsícem

      Same. But I wasn’t able to get a single game to work…

    • @Dr-Zed
      @Dr-Zed Před měsícem

      ​@@seinodernichtsein8710 skill issue

  • @bugg123
    @bugg123 Před měsícem +13

    According to the NixOS Nvidia docs, lspci or lshw both output the bus id in hex and it needs to be converted to decimal. May be worth clarifying for folks that don't have values equal in hex and decimal

  • @noahjoyner8232
    @noahjoyner8232 Před měsícem +20

    great... just AFTER i set up everything... time to learn how bad i did

  • @notcorrect
    @notcorrect Před měsícem +5

    Thanks to you I got NixOS running very well with a configuration struction that I'm pleased with. You are the GOAT of NixOS!

  • @lphoogenboom
    @lphoogenboom Před 10 dny +1

    I would love to see some long format videos from you. Especially around the more complex implementations with home manager and flakes, so we really have the time to cover the more complex concepts

  • @arcstur
    @arcstur Před 15 dny +2

    Thanks for addressing hybrid even though it "cost" video length!

  • @mi-yo8401
    @mi-yo8401 Před měsícem +2

    Excited to try this out tmr! Great explanation. Love how thorough you are!

  • @_Firebert
    @_Firebert Před měsícem +4

    have you considered making a psa video about the official nixos wiki? it seems like you have a fair share of nixos newbie traffic so i think it would help get the new wiki to appear over the old one in search results

  • @crabsynth8761
    @crabsynth8761 Před 12 dny +1

    Since documentation for nixos is not the greatest... videos like this are GOLD!

  • @orugma
    @orugma Před měsícem +12

    I'd love to see another video about setting this up through Flatpak. I'm not a Flatpak zealot, but I use it for games because Steam (and others) are separate marketplaces not checked by Nix contributors, and there are *so many* games that I'm sure some malicious code slips through their validation. Flatpak isolation isn't perfect but it can help with that. Flatpak is easy to install on NixOS, and Steam, Lutris, Heroic, etc. are easy to install through Flatpak, but the details are different than explained in this video. You can still install Gamemode and other tools through NixOS, and Gamemode knows how to track Flatpak-run Steam games.

    • @ytuser6276
      @ytuser6276 Před měsícem +1

      What I'd actually be interested in is managing Flatpak declaratively with Nix. nixpkgs relies on Nix users to update apps and Flatpak relies on their developers, so it should be a great way to have the latest and greatest.

    • @vimjoyer
      @vimjoyer  Před měsícem +5

      Managing flatpak with nix is possible, but none of the current solutions actually install stuff into the nix store. I'll probably make a video about it later

    • @orugma
      @orugma Před měsícem +7

      @@vimjoyer Thanks. I'm less concerned about managing Flatpak with nix than I am about getting the security benefits for otherwise unprotected installs like Steam games. I don't think it matters if it's in the nix store; the Steam-installed games won't be. It's nice if the extra tools (gamemode, etc.) are managed by NixOS, but the key part is isolating the games. It would be helpful to have a video showing how the Flatpak parts (Steam, Lutris, Heroic) can interact with the NixOS-installed parts (everything else, ideally).

    • @alexstone691
      @alexstone691 Před měsícem +1

      Many games do not work in flatpak unfortunately, i wish it was officially supported

    • @crazyonefan
      @crazyonefan Před měsícem +2

      I kind of get your security concern, but as far as I know. IIRC Anything executable from the Steam store is containerised when using proton. If it runs on bare linux then yeah sure, but if you just use proton on all your stuff the binaries are stuck in a container similar to flatpak.

  • @sergustus_
    @sergustus_ Před měsícem +2

    Always a pleasure watching your content

  • @kylejamesross
    @kylejamesross Před měsícem +2

    Great video as usual. Had no idea nix-hardware existed going to use this with my laptop.

  • @MrKristian252
    @MrKristian252 Před měsícem +1

    You're the best! So much info I didn't know!

  • @petrpechkurov3095
    @petrpechkurov3095 Před měsícem +2

    I don't play games anymore, but liked the video!! Keep going, bro!

  • @donkey7921
    @donkey7921 Před měsícem +1

    Your videos are so helpful! thank you!

  • @powwwan
    @powwwan Před měsícem +1

    Bro, you are the best, it would have been way harder to set everything up without you!

  • @CollCaz-2
    @CollCaz-2 Před 28 dny +4

    did you trick me into installing spyware with your tutorials? because every time i have a NixOS question, you upload a video about it

  • @Robin_Goodfellow
    @Robin_Goodfellow Před měsícem +2

    Yep, it works about as well as any other distro I've gamed on. I've run BG3 and Elden Ring so far, little bit of driver trouble at one point but all good now. At least I know my config file will make it easier next time.

  • @iuryfukuda
    @iuryfukuda Před měsícem +2

    Não tem como, Oda é um gênio.

  • @kemritthefrog9567
    @kemritthefrog9567 Před měsícem +3

    do you think its possible for you to make a video on installing kernel modules declaratively, ive been struggling with it for a while now. Thanks being the best for anything nixos related

  • @nathanneisan5697
    @nathanneisan5697 Před měsícem +1

    nice vids man

  • @CobaltSpace
    @CobaltSpace Před měsícem +1

    I’ve been so interested in getting into NixOS, but steamVR without async reprojection is a dealbreaker, so I’ll stick to arch for the foreseeable future.

  • @crackleware
    @crackleware Před měsícem +3

    Thanks!

  • @hiimshort
    @hiimshort Před měsícem +1

    The GOAT returns

  • @Anonymous4045
    @Anonymous4045 Před měsícem +2

    I've noticed that when I switch to nixos-unstable, it doesn't seem to detect my RX 6800XT and just lists it as an amd device. I'll try that xserver option and see if that fixes it. Also +1 for gamescope, it helped when Satisfactory wasn't grabbing the cursor.

  • @user-to9hv8tp5k
    @user-to9hv8tp5k Před měsícem +4

    Привіт всім! Хочу сказати, що Vimjoyer легенда. Вона навіть не уявляє наскільки вона легенда і наскільки вона гарна, і взагалі ви повинні цінувати Vimjoyer, бо таких як вона не було і не буде. Я б міг багато чого ще написати, але я хочу щоб вона вже зараз про це знала.

  • @sharperguy
    @sharperguy Před měsícem +1

    Would be so sick to have wine prefixes configurable by nix. One day...

  • @kammsk
    @kammsk Před měsícem +1

    Any chance to see a walkthrough of your own personal nix config? Or even a github link? I'm starting out my nix journey, and seeing some configs accompanied by content that explains what each feature does or why it's there would be fantastic

    • @vimjoyer
      @vimjoyer  Před měsícem

      My setup is very opinionated, so I'm not entirely sure about that, but we'll see

  • @ArdinOnline
    @ArdinOnline Před měsícem +1

    I would be willing to bet this does indeed work well, but idk where exactly to go to find these configs to edit as I’ve not used Linux that much before. I’ve used it, but not that much.

  • @toastielad4760
    @toastielad4760 Před měsícem +1

    Your videos are so sick! As someone who has probably been using Nix for a while, what is your opinion on the recent community issues?

    • @vimjoyer
      @vimjoyer  Před měsícem

      Many distros had community issues over the years. I'm sure it won't hurt nix/nixos in the long run

    • @ultimate9056
      @ultimate9056 Před 27 dny +1

      ​@@vimjoyerI understand this but as a relative newcomer to the Linux scene who adores the concept of NixOS its quite concerning and off-putting when I hear stuff like the creator getting booted from the project and large contributors getting banned/shadow banned

  • @angusbruce4963
    @angusbruce4963 Před 3 dny

    Also Thank yo without you would have never have switched to this amazing distro, ive been distro hopping ever since i started to learn linux, thnk im staying with this one, already got everything set up with hyprland, made my own rice, set up my flake so i can copy it all on to one of my laptops which i made into a Pentesting machine, all the tools seem to work flawlessly. the fact that i can just restart and go into a previous state is amazing as well, really helps when i fuck something up.

  • @iuryfukuda
    @iuryfukuda Před měsícem +3

    I love your Voice.

  • @the_osbm
    @the_osbm Před měsícem +1

    whenever i try to add my nvidia gpu to my configuration.nix i lose i lose graphical interface and asked to login in TTY. thank god there is a thing called rollbacks. But i give up. my old gpu and limited time does not allow me to run games on linux.

  • @vernonhinkelschmidt
    @vernonhinkelschmidt Před měsícem +1

    Hey, I watched a good amount of your videos preparing to make my Ultimate NixOS setup and wanted to point an error out in your video.
    Bottles should not be used from any Package Manager but Flatpak. It's the only one the Dev actually fully supports. When you run this as a package from your Package Manager you lose the containerization that the Flatpak offers.
    You also may potentially run into issues the Flatpak solves.
    This is also true for OBS: The only officially supported app is the Flatpak. I think if you were to do a follow up to this add in information about how to setup Flatpaks and demonstrate with OBS or Bottles and state "This is the only officially supported version of this application".

    • @vimjoyer
      @vimjoyer  Před měsícem

      Not an error, it's your choice how you want to run your software. Official support is good, and I probably should have mentioned that, but I'm not going to install a separate package manager for one program.

  • @jamzu6842
    @jamzu6842 Před měsícem +2

    I want to ask a question regarding what you said starting 5:19, "...to access those capabilities gamemode and gamescope require specific permissions so adding them to the system packages alone will not suffice"
    My question is why is adding them to the system packages is not sufficient?

    • @vimjoyer
      @vimjoyer  Před měsícem +2

      You can check what these options do in nixpkgs repo. Just search for them on the search website, and you'll see how these options modify your system for these programs to work properly.
      gamemode is a daemon, so it's option actually creates and enables a service for example.

    • @jamzu6842
      @jamzu6842 Před měsícem +1

      @@vimjoyer Ahhh that makes it clearer now. Thanks for answering!

  • @ricardoribeiroprudencio7871

    The only issue I had was that, for some reason, Baldurs Gate 3 refuses to launch on NixOS (both flatpak and steam).

    • @vimjoyer
      @vimjoyer  Před 25 dny

      Didn't have a chance to try it out yet, but it has a gold + verified ranking on protondb. Did you try any of the suggested launch options?

  • @viniciusmelquiades
    @viniciusmelquiades Před 14 dny +1

    I didn't think it would be this easy to configure nvidia drivers and set up Steam. Thank you!
    About gamemoderun, mangohud and gamescope, is it possible to use all 3 of them, and how would we do that? Just "gamemoderun mangohud gamescope %command%" on steam?

    • @vimjoyer
      @vimjoyer  Před 14 dny +1

      yes, just chain the commands

    • @viniciusmelquiades
      @viniciusmelquiades Před 14 dny

      @@vimjoyer I don't think I'll have time to try it today, but when I do, I'll let you know.
      I just wish we could set up these commands in nix, for all the games

  • @shifteleven
    @shifteleven Před měsícem +2

    I ended up using Steam through flatpak and I got better results than with the `programs` entry - though it's been a while since I tried the nix config way.
    Might you know of any major differences between those? Or, whatever works - works. And move on :D

    • @vimjoyer
      @vimjoyer  Před měsícem +1

      Hard to tell, I haven't tried the flatpak version

    • @MustacheMerlin
      @MustacheMerlin Před měsícem +1

      some things just straight up don't work with the flatpak last time I checked. Eg. you can't connect controllers due to problems with the permissions. Generally when folks say "I'm having XYZ weird problem with Steam on Linux" the first question asked is "Are you using the flatpak version?"
      it mostly works but has a variety of non-obvious bugs and limitations.

  • @matthewstott3493
    @matthewstott3493 Před měsícem +1

    Suspect the answer to be no. But is it possible to use the integrated AMD GPU on 7950X3D with a discrete Nividia RTX-4090 in a desktop PC?
    i.e. connect DisplayPort to motherboard AMD GPU as primary GPU and enable Nvidia GPU for steam games / Blender 3D
    I suspect the problem to be passing through the AMD GPU's DisplayPort where some magic is utilized on laptop motherboards.
    It is difficult to find any references online and some have claimed it is possible (perhaps with caveats like maybe only integrated Intel)

    • @vimjoyer
      @vimjoyer  Před měsícem

      Not sure about this specific setup, but you can try

  • @drishalballaney6590
    @drishalballaney6590 Před měsícem +4

    Im just curious, what color scheme do you use for your videos?

    • @vimjoyer
      @vimjoyer  Před měsícem +3

      Gruvbox

    • @drishalballaney6590
      @drishalballaney6590 Před měsícem +2

      @@vimjoyer wait really? I did not realize it since its really well implemented here

    • @vimjoyer
      @vimjoyer  Před měsícem +1

      @@drishalballaney6590 I'm using a custom implementation for motion canvas

    • @drishalballaney6590
      @drishalballaney6590 Před měsícem +2

      @@vimjoyer aah interesting 👀

  • @davidjeters
    @davidjeters Před měsícem +1

    Any advice on the Intel graphics? I just bought one of those 1L Lenovo Thinkcentres.

    • @vimjoyer
      @vimjoyer  Před měsícem +1

      There seems to be a page about it on the unofficial NixOS wiki, but there's not much information on it. Perhaps you could look for for similar machines on the NixOS-hardware page.

    • @davidjeters
      @davidjeters Před měsícem +1

      @@vimjoyer thanks, I was just wondering if you had any experience with Intel. Thanks for making a video on gaming.

  • @CestMoiLuca
    @CestMoiLuca Před 25 dny +1

    What is better for gaming ? Gnome or Plasma ? Any suggestions ?

    • @vimjoyer
      @vimjoyer  Před 25 dny +1

      use whichever one you prefer, the performance difference is negligible

  • @shadowelite-sec
    @shadowelite-sec Před měsícem +1

    Which software your using to edit videos

  • @polarfill7075
    @polarfill7075 Před měsícem +1

    bro i was just trying to game on nixos yesterday im afraid now lol

  • @nakidai
    @nakidai Před 14 dny +1

    why are you vimjoyer when you could be edjoyer

  • @angusbruce4963
    @angusbruce4963 Před 3 dny

    ProtonGE is not showing up in Compatibility settings. followed instructions to the T

    • @vimjoyer
      @vimjoyer  Před 2 dny

      Not really sure, might be a steam issue

    • @_Firebert
      @_Firebert Před 16 hodinami

      I think you need to restart Steam for new compatibility options to appear.

  • @IgorRozhkovig_ro
    @IgorRozhkovig_ro Před měsícem +1

    Спасибо вам Юрий за вашу работу ,всегда с нетерпением жду новые видео от вас .Не могли бы вы рассказать в следующем как переключаться с wayland на xorg ,не тянет мой ноут wayland на гноме,и как оказалось переключиться не так уж и просто.Спасибо ))

  • @terr2048
    @terr2048 Před měsícem +38

    NixOS is the best distro for everything

    • @vimjoyer
      @vimjoyer  Před měsícem +12

      absolutely

    • @MarkRijckenberg
      @MarkRijckenberg Před měsícem +4

      Yep, and if it does not run in NixOS directly, I just run the application in a distrobox container....

    • @anonymouscommentator
      @anonymouscommentator Před měsícem +6

      ​@@MarkRijckenberg
      "its the best for everything"
      "you need to spin up a bunch of docker containers to get basic programs working"

    • @qoopdata
      @qoopdata Před měsícem +1

      we are speaking facts with this comment

  • @mzakyr342
    @mzakyr342 Před měsícem +1

    no intel?
    i might switch to nixos later

    • @vimjoyer
      @vimjoyer  Před měsícem

      There's not much info about Intel GPUs on NixOS, and I don't have any myself, so I cannot test it. nixos.wiki/wiki/Intel_Graphics

  • @thodean
    @thodean Před měsícem +1

    Vimjoyer, you've got to make a video on how to make NixOS look like windows 7, that would be goated while having this setup for gaming. With aerothemeplasma

  • @TenTypekMatus
    @TenTypekMatus Před měsícem +1

    I mean, Steam isn't broken anymore, so it is easier now.

  • @mayorofnow
    @mayorofnow Před měsícem +1

    You missed the Nix Gaming flake for ProtonGE and Jovian for making Nix act like SteamOS

  • @evccyr
    @evccyr Před měsícem +2

    Lol the first one here

  • @m.m.3753
    @m.m.3753 Před měsícem +1

    Linux is for lowend gamer, if you want quality like all new Features from nvidia, only windows is the way. Nvidia, HDR, VRR, RTX HDR, DLSS Rayreconstruction, Framegeneratin, GPU undervolting or OC, all together you dont get it at once in linux. Even in 2030 you wont get. The communtity is big on linux but they dont put the efford together. Also to much distros, then not equal kernel version, moddified kernels.... Wayland, x11 or much more, whats the right to choose. Noway, stay away as a gamer from linux if you want quality gaming.

    • @vimjoyer
      @vimjoyer  Před měsícem +1

      1. You can get DLSS and VRR on Linux.
      2. Separate people don't owe you anything, and they won't magically "put the effort together".
      3. This video is not for windows users, it's for those who want to game on NixOS. I'm not comparing any distro to windows, because I'd rather stop gaming then use windows.

    • @m.m.3753
      @m.m.3753 Před měsícem

      But still its Not for normal users

    • @skorne7682
      @skorne7682 Před 28 dny +1

      Yeah this is pretty outdated, in years past gaming always kept me going back to Windows, but today I can run every game I play on Linux, even high end gfx titles like Cyberpunk w/ full ray tracing and Star Citizen with no performance drop. It just takes an extra step or two on Linux.
      The only gamers stuck are sweats who play games with kernel level anti-cheat, and even that will prob get support eventually as Microsoft continues to self-destruct Windows.

  • @ggsap
    @ggsap Před měsícem +1

    The intonation of your voice is quite distracting

  • @LiaraFromM.E
    @LiaraFromM.E Před 17 dny

    Could you do too for doing swap and having another ssd as storage with hardware.configuration.nix