• 1 Post
  • 27 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle
  • Matej@matejc.comtoLinux@lemmy.mlNixOS for gamedev
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    4 months ago

    NixOS is a Linux distro that does a lot of things differently (for the greater good), and gaming is heavily Windows thing, which is hard to do even on conventional Linux distros (its getting better tho). That said as for your points:

    1a. One of the things that would help you, is programs.nix-ld.enable = true; (for more info check https://github.com/Mic92/nix-ld , but its integrated in NixOS already)

    1b. UE5 pull request has some things that might help (eg: you could just try running it with steam-run): https://github.com/NixOS/nixpkgs/issues/124963

    1. Depends how you are building them, I am not a gaming developer nor tried to build a game without packaging it with Nix. But if you manage to run the UE5 I guess the procedure would be the same as long as you have all of the dependencies available for UE5

    2. I am using qemu/KVM on NixOS to run games on with quite a good performance, so that should not be a problem




  • Matej@matejc.comtoLinux@lemmy.mlWhy aren't more people using NixPKGs?
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    5 months ago

    Dont know where you are getting this. Nixpkgs is a breeze to manage compared to apt repo. Also it does not matter if you are on nixos or non-nixos system, the only difference is that nix does not take care of services on its own. What kind of docs do you miss? Nix has its own extensive nix docs page, and for packaging you also have nixpkgs documentation page - also official and not much related to nixos itself. Also nix has quite good man pages.



  • I cant remember anymore… Let me explain … My first computer was with at-the-time-very-new windows xp, using primary for games, after some time it got bloated with stuff so i had to reinstall again and again over time. Then i discovered redhat,centos and debian… I started heavily distro hopping. My passion for software grew to the point that I was installing new software on daily basis, just to explore new things. But nothing seemed stable enough, ubuntu, fedora, sabayon, gentoo, arch… And their derivatives all broke under my fingers to the point that i had to do more fixing than discovering new software, I took it as a challenge and continue. At around the time of university I discovered NixOS, as with any new technology I went head on with it. It took a lot of trial and error since at the time there were no documentation for any of it. I spent months reading the code, but I never gave up, since what I have found was a gem. I found the OS that is resistant to my curiosity, I just cant seem to be able to break it. Now I use NixOS everywhere that I can, even on my work computer. I do not need to reinstall after initial installation. Well… only when hardware fails…
















  • Yes the immediate cost is lower, but when drive fails? You need to consider some RAID setup then so that means at least 2 of them. Well depends how much your data is worth…

    Also consider that computers need external battery power for short power shortage and lightning protection. At least battery requires replacement every few years.