jhvst
nix-autobahn
jhvst | nix-autobahn | |
---|---|---|
1 | 4 | |
- | 230 | |
- | - | |
- | 0.0 | |
- | about 2 years ago | |
Shell | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jhvst
-
NixOS 22.11 “Raccoon” Released
Plugging my own thing here, but I have been experimenting with a Nix configuration for gaming only. My configuration is here (for Nvidia, which does not work without tinkering as AMD does) : https://github.com/jhvst/nix-config/blob/main/nvidia.nix
First, this is a whole system specification. This means that executing this on Nix will build you a whole OS image. You can build the image if you have Nix by running the first line on file. You can also use Docker with the instruction on my README: https://github.com/jhvst/nix-config
Back to elaborating on the Nix file from the gaming perspective. First, we have the overlays. These are like patches to the packages, and really useful for gaming because it allows building important packages like mesa from the source tip. This is particularly useful when new games or GPUs are released. Same thing for wayland: Nvidia and its proprietary drivers need some patching, but it's possible to get wayland (and sway) to work this way.
Then, I have taken the reproducibility of Nix to a next step in my opinion, and made the system stateless. This means that it runs from the RAM. It is easy to create installation media like kernel, initrd, and rootfs because you have all the steps to create the distribution. This means that here, Nix works as a meta-distro like Gentoo, on top of which you develop your own. Running from the RAM means that theoretically, if you have a working config, and two people with different hardware runs it, then they should have the same experience. If you look at ProtonDB, you often find that some people claim that game X works on their machine with drivers and mesa of Y and Z, but there is no way to copy their configurations because it's certain that the user has made some stateful changes which they have forgotten hence left undocumented, which is the reason it works for them. If everyone would be using Nix, you could reproduce their system and possibly fix your own, but this is not tractable with most OSs.
If you like to test my changes, you can read more about my approach here: https://github.com/NixOS/nixpkgs/pull/203750
For testing I distribute Nvidia as documented here: https://github.com/jhvst/jhvst.github.io/blob/main/ramdisk.m...
However, I have developed it bit further: if you manage to get into an iPXE shell, you can write `boot -a http://boot.ponkila.com/menu.ipxe`, then select the second option which is Nvidia (proprietary drivers), and with some waiting you will get into a shell prompt to which you can write `sway --unsupported-gpu`, which will launch sway. Cmd+Enter opens a prompt to which you can write `steam`, which will open Steam. Then, you have to mount some drive on another shell with `mount`, and add this as a Steam library via Steam's UI. Then you can play games. I use this on AMD and I have been very happy.
nix-autobahn
-
NixOS 22.11 “Raccoon” Released
Not true: there are many tools that allows directly running any binary, like nix-autobahn [1].
[1]: https://github.com/Lassulus/nix-autobahn
- NixOS' minimal ISO is now 100% reproducible!
-
Need help on installing maple on nixos
Have a look at nix-autobahn and nix-ld.
-
Why isn't NixOS more popular
I haven't tried it yet, but nix-ld and/or nix-autobahn might be (the start of) what you're looking for?
What are some alternatives?
vanitygen-plusplus - A vanity address generator for BTC, ETH, LTC, TRX and 100+ more crypto currencies.
nixos-hardware - A collection of NixOS modules covering hardware quirks.
neovim-nightly-overlay - [maintainer=@Kranzes]
nix-ld - Run unpatched dynamic binaries on NixOS
aconfmgr - A configuration manager for Arch Linux
silverblue-nix
nixscript
terraform-provider-libvirt - Terraform provider to provision infrastructure with Linux's KVM using libvirt
nixos-manager - Manage your NixOS packages and configuration via a simple, intuitive UI
core - OPNsense GUI, API and systems backend
nix - Nix, the purely functional package manager